Index: src/utils/SkLua.cpp |
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp |
index 9880fe44085a8ecafee333ff5bed66385312d28c..d41a8faaca6b3cc6f807d1c4049e5055135563e2 100644 |
--- a/src/utils/SkLua.cpp |
+++ b/src/utils/SkLua.cpp |
@@ -456,7 +456,7 @@ |
paint.setAlpha(SkScalarRoundToInt(lua2scalar(L, 5) * 255)); |
paintPtr = &paint; |
} |
- canvas->drawImage(image, x, y, paintPtr); |
+ image->draw(canvas, x, y, paintPtr); |
return 0; |
} |