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