Index: include/utils/SkProxyCanvas.h |
diff --git a/include/utils/SkProxyCanvas.h b/include/utils/SkProxyCanvas.h |
index 329d7e367f39cf8c733037e7d9ecaa1f0be888a9..d682ba3b44124436bfe47156c76696789fb8a10f 100644 |
--- a/include/utils/SkProxyCanvas.h |
+++ b/include/utils/SkProxyCanvas.h |
@@ -26,6 +26,11 @@ public: |
SkCanvas* getProxy() const { return fProxy; } |
void setProxy(SkCanvas* proxy); |
+ virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) SK_OVERRIDE; |
+ virtual int saveLayer(const SkRect* bounds, const SkPaint* paint, |
+ SaveFlags flags = kARGB_ClipLayer_SaveFlag) SK_OVERRIDE; |
+ virtual void restore() SK_OVERRIDE; |
+ |
virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; |
virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE; |
virtual bool rotate(SkScalar degrees) SK_OVERRIDE; |
@@ -75,10 +80,6 @@ public: |
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; |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |