Index: include/utils/SkLuaCanvas.h |
diff --git a/include/utils/SkLuaCanvas.h b/include/utils/SkLuaCanvas.h |
index a4f30bc349f0b6a61a8ed4ce839cccecdbd47232..9bc109ee1498a7caa1afd48037602e6bdbf31578 100644 |
--- a/include/utils/SkLuaCanvas.h |
+++ b/include/utils/SkLuaCanvas.h |
@@ -20,11 +20,6 @@ public: |
SkLuaCanvas(int width, int height, lua_State*, const char function[]); |
virtual ~SkLuaCanvas(); |
- 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 translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; |
virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE; |
virtual bool rotate(SkScalar degrees) SK_OVERRIDE; |
@@ -67,6 +62,10 @@ public: |
virtual void drawData(const void* data, size_t length) 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; |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |