commit | 7b380d0d0e91ae6967c52bfa14853a77b9551de4 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Mon Mar 21 13:25:16 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 21 13:25:16 2016 -0700 |
tree | e76ea25f431624e01b51ca605761438fd4560120 | |
parent | dc6c9bf91c158e89cd9d5ef19dfbf1da98c598a6 [diff] [blame] |
guard rasterizer and drawlooper setters Need to land https://codereview.chromium.org/1823513002/ first BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1821533002 Review URL: https://codereview.chromium.org/1821533002
diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp index 5213276..85852d5 100644 --- a/bench/BlurRoundRectBench.cpp +++ b/bench/BlurRoundRectBench.cpp
@@ -67,7 +67,7 @@ dullPaint.setAntiAlias(true); SkPaint loopedPaint; - loopedPaint.setLooper(looperBuilder.detachLooper())->unref(); + loopedPaint.setLooper(looperBuilder.detach()); loopedPaint.setAntiAlias(true); loopedPaint.setColor(SK_ColorCYAN);