Index: include/utils/SkDeferredCanvas.h |
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h |
index b26ddbc952bc623e7df269bd77e263a38f35b158..210b7fb1894c70a17de77efee1af1ed49ea5fec3 100644 |
--- a/include/utils/SkDeferredCanvas.h |
+++ b/include/utils/SkDeferredCanvas.h |
@@ -138,10 +138,6 @@ |
void silentFlush(); |
// Overrides of the SkCanvas interface |
- virtual int save(SaveFlags flags) SK_OVERRIDE; |
- virtual int saveLayer(const SkRect* bounds, const SkPaint* paint, |
- SaveFlags flags) SK_OVERRIDE; |
- virtual void restore() SK_OVERRIDE; |
virtual bool isDrawingToLayer() const SK_OVERRIDE; |
virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; |
virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE; |
@@ -193,6 +189,10 @@ |
virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
protected: |
+ virtual void onSave(SaveFlags) SK_OVERRIDE; |
+ virtual bool onSaveLayer(const SkRect*, const SkPaint*, SaveFlags) SK_OVERRIDE; |
+ virtual void onRestore() SK_OVERRIDE; |
+ |
virtual void onDrawDRRect(const SkRRect&, const SkRRect&, |
const SkPaint&) SK_OVERRIDE; |