commit | e47829b6b1eeb6b0c97ccb3df3016d197046824c | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Thu Aug 06 10:02:53 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Aug 06 10:02:53 2015 -0700 |
tree | fb90751c17490f47febe44cabf2c4cf1fa249a48 | |
parent | fb1141ae1db2ffce479bc46413b008d31cf9d3cc [diff] [blame] |
flag to use const& instead of const* for src-rect BUG=skia: Review URL: https://codereview.chromium.org/1272713005
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp index b0e7b8f..7c378c9 100644 --- a/src/utils/SkLua.cpp +++ b/src/utils/SkLua.cpp
@@ -534,7 +534,7 @@ 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; }