Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index a57c01632a81fa8252c2efee367fac76f8786848..cb07e92b5541f15744e2aefefe2467f0f9ca6b36 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -52,9 +52,8 @@ protected: |
paint.setARGB(fByte, 0xFF, 0xFF, 0xFF); |
- paint.setMaskFilter(SkBlurMaskFilter::Create(kNormal_SkBlurStyle, |
- SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(3)))); |
- paint.getMaskFilter()->unref(); |
+ paint.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle, |
+ SkBlurMask::ConvertRadiusToSigma(3))); |
SkRandom rand; |