Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: experimental/PdfViewer/SkNulCanvas.h

Issue 1270633004: Update NulCanvas so everything builds. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/PdfViewer/SkTrackDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | experimental/PdfViewer/SkTrackDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698