commit | 5e25717ab6313b011ec54eac0109c414aa8ffc17 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Tue Nov 01 11:22:05 2016 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 01 16:05:41 2016 +0000 |
tree | aa8f4f1fc4c68a3b77e671c61393206dd61f5b5f | |
parent | c633abbb342e3af0e56382e8cb7e7d9fed71e237 [diff] [blame] |
hide setImageFilter(ptr) BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4184 Change-Id: Iad792cfdf54087ad4c424fd268559c162a9a5f5c Reviewed-on: https://skia-review.googlesource.com/4184 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp index 14f074c..a223456 100644 --- a/src/utils/SkLua.cpp +++ b/src/utils/SkLua.cpp
@@ -1102,7 +1102,7 @@ static int lpaint_setImageFilter(lua_State* L) { SkPaint* paint = get_obj<SkPaint>(L, 1); - paint->setImageFilter(get_ref<SkImageFilter>(L, 2)); + paint->setImageFilter(sk_ref_sp(get_ref<SkImageFilter>(L, 2))); return 0; }