Changeset 113390 in webkit


Ignore:
Timestamp:
Apr 5, 2012 4:00:16 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Arvid Nilsson <anilsson@rim.com> 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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r113387 r113390  
     12012-04-05  Arvid Nilsson  <anilsson@rim.com>
     2
     3        [BlackBerry] Update the InstrumentedPlatformCanvas after rebasing Skia
     4        https://bugs.webkit.org/show_bug.cgi?id=83314
     5
     6        Reviewed by George Staikos.
     7
     8        RIM PR: 143771
     9        One new virtual method was added to the SkCanvas, to draw a nine piece
     10        image. Override it and mark output as not being a solid color anymore.
     11
     12        * platform/graphics/blackberry/InstrumentedPlatformCanvas.h:
     13        (WebCore::InstrumentedPlatformCanvas::drawBitmapNine):
     14        (InstrumentedPlatformCanvas):
     15
    1162012-04-05  Oliver Hunt  <oliver@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h

    r112124 r113390  
    200200    }
    201201
     202    virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
     203                                const SkRect& dst, const SkPaint* paint = 0)
     204    {
     205        WRAPCANVAS_LOG_ENTRY("");
     206        m_isSolidColor = false;
     207        SkCanvas::drawBitmapNine(bitmap, center, dst, paint);
     208    }
     209
    202210    virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
    203211            const SkPaint* paint)
Note: See TracChangeset for help on using the changeset viewer.