Index: gm/bigblurs.cpp |
diff --git a/gm/bigblurs.cpp b/gm/bigblurs.cpp |
index d68b2ca1f7d3f8b0ffd4a6ae3b7350cf88e49b90..5c09ab94ef6431ed247049d4b5c6971c3d43fd8d 100644 |
--- a/gm/bigblurs.cpp |
+++ b/gm/bigblurs.cpp |
@@ -70,8 +70,7 @@ protected: |
for (int i = 0; i < 2; ++i) { |
for (int j = 0; j <= kLastEnum_SkBlurStyle; ++j) { |
- SkMaskFilter* mf = SkBlurMaskFilter::Create((SkBlurStyle)j, kSigma); |
- blurPaint.setMaskFilter(mf)->unref(); |
+ blurPaint.setMaskFilter(SkBlurMaskFilter::Make((SkBlurStyle)j, kSigma)); |
for (int k = 0; k < (int)SK_ARRAY_COUNT(origins); ++k) { |
canvas->save(); |