Index: include/utils/SkDeferredCanvas.h |
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h |
index e82cad3ab1fe294910ae814135bb90fddb5e9f65..7d8b58cc8709d3b8e6b9412090264b392110df34 100644 |
--- a/include/utils/SkDeferredCanvas.h |
+++ b/include/utils/SkDeferredCanvas.h |
@@ -138,10 +138,6 @@ public: |
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 @@ public: |
virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
protected: |
+ virtual void willSave(SaveFlags) SK_OVERRIDE; |
+ virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) SK_OVERRIDE; |
+ virtual void willRestore() SK_OVERRIDE; |
+ |
virtual void onDrawDRRect(const SkRRect&, const SkRRect&, |
const SkPaint&) SK_OVERRIDE; |