commit | 73603f3c52ffd89fe9d035be827b566a0e7d3b79 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Tue Sep 20 08:42:38 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 20 08:42:39 2016 -0700 |
tree | 873793b81536379196233f313b1a093d02bdac0e | |
parent | cae1be5acc8148fc5cbadd8730ee7994e50a1a47 [diff] [blame] |
abstract name of clipping ops, to transtion to a more restricted set SkRegion::Op --> SkCanvas::ClipOp (alias) --> SkClipOp pre-CL needed in chrome : https://codereview.chromium.org/2355583002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2355483002 Review-Url: https://codereview.chromium.org/2355483002
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp index 117cb8a..d9beaed 100644 --- a/src/utils/SkLua.cpp +++ b/src/utils/SkLua.cpp
@@ -405,7 +405,7 @@ this->pushPath(element.getPath(), "path"); break; } - this->pushString(region_op(element.getOp()), "op"); + this->pushString(region_op((SkRegion::Op)element.getOp()), "op"); this->pushBool(element.isAA(), "aa"); CHECK_SETFIELD(key); }