Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index b4c7c771c39eaeeadb72f68eb02925a41c870c33..d9c5dc1d7620abd7b9a9571c621d8ca2de72686d 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -268,10 +268,10 @@ void SkLuaCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const Sk |
lua.pushPaint(paint, "paint"); |
} |
-void SkLuaCanvas::drawPicture(SkPicture& picture) { |
+void SkLuaCanvas::onDrawPicture(const SkPicture* picture) { |
AUTO_LUA("drawPicture"); |
// call through so we can see the nested picture ops |
- this->INHERITED::drawPicture(picture); |
+ this->INHERITED::onDrawPicture(picture); |
} |
void SkLuaCanvas::drawVertices(VertexMode vmode, int vertexCount, |