Chromium Code Reviews| Index: include/utils/SkNWayCanvas.h |
| diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h |
| index c48bcab3c4d4b74ebe3f5f332469196c8afbb42e..eae3bfc538d42fe5be1d354c6dccab60c5985706 100644 |
| --- a/include/utils/SkNWayCanvas.h |
| +++ b/include/utils/SkNWayCanvas.h |
| @@ -38,12 +38,12 @@ public: |
| virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; |
| virtual bool clipRegion(const SkRegion& deviceRgn, |
| SkRegion::Op) SK_OVERRIDE; |
| - |
| + virtual void clear(SkColor) SK_OVERRIDE; |
|
enne (OOO)
2013/11/13 23:41:32
This was the real fix. The other functions were a
|
| virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
| virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
| const SkPaint&) SK_OVERRIDE; |
| - virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
|
enne (OOO)
2013/11/13 23:41:32
This is just a reordering to be consistent with Sk
|
| + virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
| virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
| virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
| @@ -53,6 +53,9 @@ public: |
| DrawBitmapRectFlags flags) SK_OVERRIDE; |
| virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
| const SkPaint*) SK_OVERRIDE; |
| + virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
| + const SkRect& dst, |
| + const SkPaint* paint = NULL) SK_OVERRIDE; |
| virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
| const SkPaint*) SK_OVERRIDE; |
| virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
| @@ -71,6 +74,7 @@ public: |
| const SkColor colors[], SkXfermode* xmode, |
| const uint16_t indices[], int indexCount, |
| const SkPaint&) SK_OVERRIDE; |
| + virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
| virtual SkBounder* setBounder(SkBounder*) SK_OVERRIDE; |
| virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; |