Index: gm/circles.cpp |
diff --git a/gm/circles.cpp b/gm/circles.cpp |
index dd37a61d5d4608e449470a535087f40d23858cbe..2c2542b9dcdf14aa6605dad760c195029c1fdaf8 100644 |
--- a/gm/circles.cpp |
+++ b/gm/circles.cpp |
@@ -51,11 +51,10 @@ protected: |
// AA with mask filter |
SkPaint p; |
p.setAntiAlias(true); |
- SkMaskFilter* mf = SkBlurMaskFilter::Create( |
+ p.setMaskFilter(SkBlurMaskFilter::Make( |
kNormal_SkBlurStyle, |
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)), |
- SkBlurMaskFilter::kHighQuality_BlurFlag); |
- p.setMaskFilter(mf)->unref(); |
+ SkBlurMaskFilter::kHighQuality_BlurFlag)); |
fPaints.push_back(p); |
} |