Commit 9eaa36b6 authored by enne@google.com's avatar enne@google.com

2011-04-05 Adrienne Walker <enne@google.com>

        Reviewed by Tony Chang.

        Correctly set color when using skia's fillRoundedRect.
        https://bugs.webkit.org/show_bug.cgi?id=57907

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::fillRoundedRect):

git-svn-id: svn://svn.chromium.org/blink/trunk@83002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 515cc7f0
2011-04-05 Adrienne Walker <enne@google.com>
Reviewed by Tony Chang.
Correctly set color when using skia's fillRoundedRect.
https://bugs.webkit.org/show_bug.cgi?id=57907
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::fillRoundedRect):
2011-04-05 Alexey Proskuryakov <ap@apple.com> 2011-04-05 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler. Reviewed by Darin Adler.
...@@ -853,6 +853,7 @@ void GraphicsContext::fillRoundedRect(const IntRect& rect, ...@@ -853,6 +853,7 @@ void GraphicsContext::fillRoundedRect(const IntRect& rect,
SkPaint paint; SkPaint paint;
platformContext()->setupPaintForFilling(&paint); platformContext()->setupPaintForFilling(&paint);
paint.setColor(color.rgb());
platformContext()->canvas()->drawPath(path, paint); platformContext()->canvas()->drawPath(path, paint);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment