Index: experimental/PdfViewer/SkNulCanvas.h |
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h |
index 452c58c41d33abdbfce8c3d000f647fb9f596a45..732ea3a7f0de745acbbc23bba2a0dee8238a4b53 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, |
- SK_VIRTUAL_CONSTRAINT_TYPE) override {} |
+ SkCanvas::SrcRectConstraint) override {} |
void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) override {} |
- void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint* |
- SRC_RECT_CONSTRAINT_PARAM(constraint)) override {} |
+ void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, |
+ SkCanvas::SrcRectConstraint) 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, |