aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BlurRoundRectBench.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-03-21 13:25:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-21 13:25:16 -0700
commit7b380d0d0e91ae6967c52bfa14853a77b9551de4 (patch)
treee76ea25f431624e01b51ca605761438fd4560120 /bench/BlurRoundRectBench.cpp
parentdc6c9bf91c158e89cd9d5ef19dfbf1da98c598a6 (diff)
guard rasterizer and drawlooper setters
Diffstat (limited to 'bench/BlurRoundRectBench.cpp')
-rw-r--r--bench/BlurRoundRectBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp
index 5213276a0c..85852d581e 100644
--- a/bench/BlurRoundRectBench.cpp
+++ b/bench/BlurRoundRectBench.cpp
@@ -67,7 +67,7 @@ public:
dullPaint.setAntiAlias(true);
SkPaint loopedPaint;
- loopedPaint.setLooper(looperBuilder.detachLooper())->unref();
+ loopedPaint.setLooper(looperBuilder.detach());
loopedPaint.setAntiAlias(true);
loopedPaint.setColor(SK_ColorCYAN);