Index: bench/BlurRoundRectBench.cpp |
diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp |
index 5213276a0c91632f755e6d7a42ae16c30f70ffcb..85852d581e32317ec0955dd3b4e56274ce9e20a8 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); |