diff options
author | Ben Murdoch <benm@google.com> | 2011-06-16 18:28:33 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-16 18:31:00 +0100 |
commit | 032e76714e4ef7e4560c86a6d17ae89c88897144 (patch) | |
tree | 4541ce1faecb5cc8e03afa29a8875832bd8226ea | |
parent | ab03dc86489826ee11774d136453cfc86ec9ac1b (diff) | |
download | external_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.cpp | 1 |
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); } |