Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 3f556f6939cca93bf0926f66d18044cc2095e171..7be49e323bacfc9d862fa1a397cd2e8c8566e9a1 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -217,13 +217,13 @@ protected: |
virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
const SkRect* srcOrNull, const SkRect& dst, |
const SkPaint& paint, |
- SkCanvas::DrawBitmapRectFlags flags) = 0; |
+ SK_VIRTUAL_CONSTRAINT_TYPE) = 0; |
virtual void drawBitmapNine(const SkDraw&, const SkBitmap&, const SkIRect& center, |
const SkRect& dst, const SkPaint&); |
virtual void drawImage(const SkDraw&, const SkImage*, SkScalar x, SkScalar y, const SkPaint&); |
virtual void drawImageRect(const SkDraw&, const SkImage*, const SkRect* src, const SkRect& dst, |
- const SkPaint&); |
+ const SkPaint&, SkCanvas::SrcRectConstraint); |
virtual void drawImageNine(const SkDraw&, const SkImage*, const SkIRect& center, |
const SkRect& dst, const SkPaint&); |