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

Unified Diff: experimental/PdfViewer/SkNulCanvas.h

Issue 195793012: De-virtualize SkCanvas matrix ops. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 | include/core/SkCanvas.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 472ea3b2a91c897f787b9bbf590cc523ef4a6667..1c31e9d39ce7e094f81f819032b4b5313b1575db 100644
--- a/experimental/PdfViewer/SkNulCanvas.h
+++ b/experimental/PdfViewer/SkNulCanvas.h
@@ -27,12 +27,6 @@ public:
virtual ~SkNulCanvas() {}
virtual bool isDrawingToLayer() const SK_OVERRIDE {return false;}
- virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE {return true;}
- virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE {return true;}
- virtual bool rotate(SkScalar degrees) SK_OVERRIDE {return true;}
- virtual bool skew(SkScalar sx, SkScalar sy) SK_OVERRIDE {return true;}
- virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE {return true;}
- virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE {}
virtual void clear(SkColor) SK_OVERRIDE {}
virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE {}
virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[],
« no previous file with comments | « no previous file | include/core/SkCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698