aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkLua.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-08-06 10:02:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-06 10:02:53 -0700
commite47829b6b1eeb6b0c97ccb3df3016d197046824c (patch)
treefb90751c17490f47febe44cabf2c4cf1fa249a48 /src/utils/SkLua.cpp
parentfb1141ae1db2ffce479bc46413b008d31cf9d3cc (diff)
flag to use const& instead of const* for src-rect
Diffstat (limited to 'src/utils/SkLua.cpp')
-rw-r--r--src/utils/SkLua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index b0e7b8fb92..7c378c9b81 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;
}