Index: experimental/PdfViewer/SkNulCanvas.h |
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h |
index 8ec2d32d0fc70c0f78994e55d1f185246812e806..c43ea82918b5b48ecd296894aed3931b4c98369f 100644 |
--- a/experimental/PdfViewer/SkNulCanvas.h |
+++ b/experimental/PdfViewer/SkNulCanvas.h |
@@ -55,10 +55,8 @@ public: |
virtual void drawPaint(const SkPaint& paint) {} |
virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
const SkPaint& paint) {} |
- virtual void drawRect(const SkRect& rect, const SkPaint& paint) {} |
virtual void drawOval(const SkRect& oval, const SkPaint&) {} |
virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) {} |
- virtual void drawPath(const SkPath& path, const SkPaint& paint) {} |
virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
const SkPaint* paint = NULL) {} |
virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
@@ -95,6 +93,8 @@ public: |
virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) {return NULL;} |
protected: |
+ virtual void onDrawRect(const SkRect& rect, const SkPaint& paint) {} |
+ virtual void onDrawPath(const SkPath& path, const SkPaint& paint) {} |
virtual SkCanvas* canvasForDrawIter() {return NULL;} |
virtual SkBaseDevice* setDevice(SkBaseDevice* device) {return NULL;} |