From 032e76714e4ef7e4560c86a6d17ae89c88897144 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 16 Jun 2011 18:28:33 +0100 Subject: Fix rounded rectangle background colour. Apply WebKit change http://trac.webkit.org/changeset/83002 to our GraphicsContext port. Bug: 4674341 Change-Id: I1399ae0f12aff3f24417a7d6f36006a73e8e48ff --- Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/WebCore') 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); } -- cgit v1.1