summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-06-16 18:28:33 +0100
committerBen Murdoch <benm@google.com>2011-06-16 18:31:00 +0100
commit032e76714e4ef7e4560c86a6d17ae89c88897144 (patch)
tree4541ce1faecb5cc8e03afa29a8875832bd8226ea
parentab03dc86489826ee11774d136453cfc86ec9ac1b (diff)
downloadexternal_webkit-032e76714e4ef7e4560c86a6d17ae89c88897144.zip
external_webkit-032e76714e4ef7e4560c86a6d17ae89c88897144.tar.gz
external_webkit-032e76714e4ef7e4560c86a6d17ae89c88897144.tar.bz2
Fix rounded rectangle background colour.
Apply WebKit change http://trac.webkit.org/changeset/83002 to our GraphicsContext port. Bug: 4674341 Change-Id: I1399ae0f12aff3f24417a7d6f36006a73e8e48ff
-rw-r--r--Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
index 43275a7..429a125 100644
--- a/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
@@ -771,6 +771,7 @@ void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLef
path.addRoundRect(rect, radii);
m_data->setupPaintFill(&paint);
+ paint.setColor(color.rgb());
GC2CANVAS(this)->drawPath(path, paint);
}