Index: experimental/PdfViewer/SkNulCanvas.h |
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h |
index 420a673e24f1d1c5e3fbda987ebfeab7c7eb3414..452c58c41d33abdbfce8c3d000f647fb9f596a45 100644 |
--- a/experimental/PdfViewer/SkNulCanvas.h |
+++ b/experimental/PdfViewer/SkNulCanvas.h |
@@ -82,10 +82,10 @@ protected: |
void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, |
const SkRect& dst, |
const SkPaint* paint, |
- DrawBitmapRectFlags flags) override {} |
+ SK_VIRTUAL_CONSTRAINT_TYPE) override {} |
void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) override {} |
- void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
- const SkPaint*) override{} |
+ void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint* |
+ SRC_RECT_CONSTRAINT_PARAM(constraint)) override {} |
void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
const SkRect& dst, const SkPaint* paint = NULL) override {} |
void onDrawSprite(const SkBitmap& bitmap, int left, int top, |