Changeset 83002 in webkit


Ignore:
Timestamp:
Apr 5, 2011 5:28:28 PM (13 years ago)
Author:
enne@google.com
Message:

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):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r83000 r83002  
     12011-04-05  Adrienne Walker  <enne@google.com>
     2
     3        Reviewed by Tony Chang.
     4
     5        Correctly set color when using skia's fillRoundedRect.
     6        https://bugs.webkit.org/show_bug.cgi?id=57907
     7
     8        * platform/graphics/skia/GraphicsContextSkia.cpp:
     9        (WebCore::GraphicsContext::fillRoundedRect):
     10
    1112011-04-05  Alexey Proskuryakov  <ap@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp

    r81509 r83002  
    854854    SkPaint paint;
    855855    platformContext()->setupPaintForFilling(&paint);
     856    paint.setColor(color.rgb());
    856857    platformContext()->canvas()->drawPath(path, paint);
    857858}
Note: See TracChangeset for help on using the changeset viewer.