2009-02-05 Scott Violet <sky@google.com>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Feb 2009 23:24:54 +0000 (23:24 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Feb 2009 23:24:54 +0000 (23:24 +0000)
        Reviewed by George Staikos.

        https://bugs.webkit.org/show_bug.cgi?id=23462
        Changes call from setFillColor to setStrokeColor.

        * html/CanvasStyle.cpp:
        (WebCore::CanvasStyle::applyStrokeColor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40688 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/html/CanvasStyle.cpp

index 6f3cd249a22dd9f4843cd87a0144e8f27763a689..23d6699e2efda8e06d83b53ae3ea2fa40e8e5309 100644 (file)
@@ -1,3 +1,13 @@
+2009-02-05  Scott Violet  <sky@google.com>
+
+        Reviewed by George Staikos.
+
+        https://bugs.webkit.org/show_bug.cgi?id=23462
+        Changes call from setFillColor to setStrokeColor.
+
+        * html/CanvasStyle.cpp:
+        (WebCore::CanvasStyle::applyStrokeColor):
+
 2009-02-05  David Hyatt  <hyatt@apple.com>
 
         Fix crash on svg custom stop test.  A virtual function didn't get patched properly.
index c3ebbb308693798c76beefc719a19d0e974d42bf..d327bf84334441147240db98f5c86358b4dcf648 100644 (file)
@@ -147,7 +147,7 @@ void CanvasStyle::applyStrokeColor(GraphicsContext* context)
             currentPen.setColor(clr);
             context->platformContext()->setPen(currentPen);
 #else
-            context->setFillColor(Color(m_cyan, m_magenta, m_yellow, m_black, m_alpha));
+            context->setStrokeColor(Color(m_cyan, m_magenta, m_yellow, m_black, m_alpha));
 #endif
             break;
         }