Title: [113390] trunk/Source/WebCore
Revision
113390
Author
[email protected]
Date
2012-04-05 16:00:16 -0700 (Thu, 05 Apr 2012)

Log Message

[BlackBerry] Update the InstrumentedPlatformCanvas after rebasing Skia
https://bugs.webkit.org/show_bug.cgi?id=83314

Patch by Arvid Nilsson <[email protected]> on 2012-04-05
Reviewed by George Staikos.

RIM PR: 143771
One new virtual method was added to the SkCanvas, to draw a nine piece
image. Override it and mark output as not being a solid color anymore.

* platform/graphics/blackberry/InstrumentedPlatformCanvas.h:
(WebCore::InstrumentedPlatformCanvas::drawBitmapNine):
(InstrumentedPlatformCanvas):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113389 => 113390)


--- trunk/Source/WebCore/ChangeLog	2012-04-05 22:51:01 UTC (rev 113389)
+++ trunk/Source/WebCore/ChangeLog	2012-04-05 23:00:16 UTC (rev 113390)
@@ -1,3 +1,18 @@
+2012-04-05  Arvid Nilsson  <[email protected]>
+
+        [BlackBerry] Update the InstrumentedPlatformCanvas after rebasing Skia
+        https://bugs.webkit.org/show_bug.cgi?id=83314
+
+        Reviewed by George Staikos.
+
+        RIM PR: 143771
+        One new virtual method was added to the SkCanvas, to draw a nine piece
+        image. Override it and mark output as not being a solid color anymore.
+
+        * platform/graphics/blackberry/InstrumentedPlatformCanvas.h:
+        (WebCore::InstrumentedPlatformCanvas::drawBitmapNine):
+        (InstrumentedPlatformCanvas):
+
 2012-04-05  Oliver Hunt  <[email protected]>
 
         Make WebCore use jsCast rather than static_cast for casting JSC objects

Modified: trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h (113389 => 113390)


--- trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h	2012-04-05 22:51:01 UTC (rev 113389)
+++ trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h	2012-04-05 23:00:16 UTC (rev 113390)
@@ -199,6 +199,14 @@
         SkCanvas::drawBitmapMatrix(bitmap, matrix, paint);
     }
 
+    virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
+                                const SkRect& dst, const SkPaint* paint = 0)
+    {
+        WRAPCANVAS_LOG_ENTRY("");
+        m_isSolidColor = false;
+        SkCanvas::drawBitmapNine(bitmap, center, dst, paint);
+    }
+
     virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
             const SkPaint* paint)
     {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to