summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-11-26 14:21:22 +0000
committerSteve Block <steveblock@google.com>2009-12-17 17:41:12 +0000
commitf94c68461da450895b1f8dc388861cb764565bb5 (patch)
treefa1dc6a4dc9494821c5e9b36df0b894061413aaf /WebCore
parent0f41711d127b039d940c02f98f2d48433880e8f7 (diff)
downloadexternal_webkit-f94c68461da450895b1f8dc388861cb764565bb5.zip
external_webkit-f94c68461da450895b1f8dc388861cb764565bb5.tar.gz
external_webkit-f94c68461da450895b1f8dc388861cb764565bb5.tar.bz2
Merge webkit.org at r51976 : A ColorSpace argument is now passed to GraphicsContext methods.
See http://trac.webkit.org/changeset/50760 Change-Id: I50c0864b1347e81839b8276a832311d7d1281148
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/GraphicsContextAndroid.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp b/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
index b480e2c..f2e168c 100644
--- a/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
+++ b/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
@@ -646,7 +646,7 @@ void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* poin
}
void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight,
- const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color)
+ const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace)
{
if (paintingDisabled())
return;
@@ -682,7 +682,7 @@ void GraphicsContext::fillRect(const FloatRect& rect)
GC2Canvas(this)->drawRect(rect, paint);
}
-void GraphicsContext::fillRect(const FloatRect& rect, const Color& color)
+void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace)
{
if (paintingDisabled())
return;
@@ -859,7 +859,7 @@ void GraphicsContext::endTransparencyLayer()
return m_data->mState->setupShadowPaint(paint, offset);
}
- void GraphicsContext::setPlatformStrokeColor(const Color& c) {
+ void GraphicsContext::setPlatformStrokeColor(const Color& c, ColorSpace) {
m_data->setStrokeColor(c);
}
@@ -867,7 +867,7 @@ void GraphicsContext::endTransparencyLayer()
m_data->setStrokeThickness(f);
}
- void GraphicsContext::setPlatformFillColor(const Color& c) {
+ void GraphicsContext::setPlatformFillColor(const Color& c, ColorSpace) {
m_data->setFillColor(c);
}