Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index c5ec00691356d93b6fa03f3a18dedd80a1ac59f4..3b74596a8eecd7f4f995c4b38993cdff67f4176d 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -187,7 +187,7 @@ void SkLuaCanvas::drawOval(const SkRect& rect, const SkPaint& paint) { |
lua.pushPaint(paint, "paint"); |
} |
-void SkLuaCanvas::drawRect(const SkRect& rect, const SkPaint& paint) { |
+void SkLuaCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { |
AUTO_LUA("drawRect"); |
lua.pushRect(rect, "rect"); |
lua.pushPaint(paint, "paint"); |
@@ -199,7 +199,7 @@ void SkLuaCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { |
lua.pushPaint(paint, "paint"); |
} |
-void SkLuaCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
+void SkLuaCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { |
AUTO_LUA("drawPath"); |
lua.pushPath(path, "path"); |
lua.pushPaint(paint, "paint"); |