aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BlurRoundRectBench.cpp
diff options
context:
space:
mode:
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);