[Webkit-unassigned] [Bug 57907] Skia incorrectly draws fillRoundedRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 17:07:43 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57907





--- Comment #2 from Nico Weber <thakis at chromium.org>  2011-04-05 17:07:43 PST ---
Does this help?


diff --git a/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp b/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
index df680eb..6d57fb8 100644
--- a/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
+++ b/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
@@ -853,6 +853,7 @@ void GraphicsContext::fillRoundedRect(const IntRect& rect,

     SkPaint paint;
     platformContext()->setupPaintForFilling(&paint);
+    paint.setColor(color.rgb());
     platformContext()->canvas()->drawPath(path, paint);
 }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list