Index: src/utils/SkLua.cpp |
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp |
index b0e7b8fb927ce302542ca14f17d4f3b662c2242a..7c378c9b81e51d2987f7f5fcd4793f32ac8d21fc 100644 |
--- a/src/utils/SkLua.cpp |
+++ b/src/utils/SkLua.cpp |
@@ -534,7 +534,7 @@ static int lcanvas_drawImageRect(lua_State* L) { |
lua2rect(L, 4, &dstR); |
SkPaint paint; |
- canvas->drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); |
+ canvas->legacy_drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); |
return 0; |
} |