Index: include/utils/SkLuaCanvas.h |
diff --git a/include/utils/SkLuaCanvas.h b/include/utils/SkLuaCanvas.h |
index 3efbdb95bcd010496ac33b4a0da7da062b904134..6bef8686a30dd58a1bafd2e5a010665505712c9f 100644 |
--- a/include/utils/SkLuaCanvas.h |
+++ b/include/utils/SkLuaCanvas.h |
@@ -36,7 +36,6 @@ public: |
const SkPaint* paint) SK_OVERRIDE; |
virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
const SkPaint* paint) SK_OVERRIDE; |
- virtual void drawPicture(SkPicture&) SK_OVERRIDE; |
virtual void drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
const SkColor colors[], SkXfermode* xmode, |
@@ -67,6 +66,8 @@ protected: |
virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
+ virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
+ |
private: |
lua_State* fL; |
SkString fFunc; |