diff options
author | 2015-07-14 14:15:08 -0700 | |
---|---|---|
committer | 2015-07-14 14:15:08 -0700 | |
commit | be4229b58f00180164c12ddd73bd6fc072147650 (patch) | |
tree | 1608501fb3d7b4f038eda3431e68e9d015d4b77e /experimental/PdfViewer/SkNulCanvas.h | |
parent | b3d54d7c07780db3442d07158c7067900bcf8bce (diff) |
Updated PDFViewer drawImageRect() overrides
R=reed@google.com
Review URL: https://codereview.chromium.org/1240573008
Diffstat (limited to 'experimental/PdfViewer/SkNulCanvas.h')
-rw-r--r-- | experimental/PdfViewer/SkNulCanvas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h index 420a673e24..452c58c41d 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, |