Index: bench/BlurRectsBench.cpp |
diff --git a/bench/BlurRectsBench.cpp b/bench/BlurRectsBench.cpp |
index 6bfde8ebf8fa077e6298acce2b6e47d1733910d0..fc04d0294e18459ff19ea3d22d46f3001feb1488 100644 |
--- a/bench/BlurRectsBench.cpp |
+++ b/bench/BlurRectsBench.cpp |
@@ -31,7 +31,7 @@ public: |
void onDraw(int loops, SkCanvas* canvas) override { |
SkPaint paint; |
- paint.setMaskFilter(SkBlurMaskFilter::Create(kNormal_SkBlurStyle, fRadius))->unref(); |
+ paint.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle, fRadius)); |
SkPath path; |
path.addRect(fOuter, SkPath::kCW_Direction); |