Index: gm/circles.cpp |
diff --git a/gm/circles.cpp b/gm/circles.cpp |
index b4cfef28c1a0699a6dab5689e005e6a4fffdc086..ce833db6fdca9e48b7803b4359d0f43e95a8de97 100644 |
--- a/gm/circles.cpp |
+++ b/gm/circles.cpp |
@@ -81,12 +81,12 @@ protected: |
SkPaint p; |
p.setAntiAlias(true); |
SkBlurDrawLooper* shadowLooper = |
- new SkBlurDrawLooper (SK_ColorBLUE, |
- SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(10)), |
- SkIntToScalar(5), SkIntToScalar(10), |
- SkBlurDrawLooper::kIgnoreTransform_BlurFlag | |
- SkBlurDrawLooper::kOverrideColor_BlurFlag | |
- SkBlurDrawLooper::kHighQuality_BlurFlag); |
+ SkBlurDrawLooper::Create(SK_ColorBLUE, |
+ SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(10)), |
+ SkIntToScalar(5), SkIntToScalar(10), |
+ SkBlurDrawLooper::kIgnoreTransform_BlurFlag | |
+ SkBlurDrawLooper::kOverrideColor_BlurFlag | |
+ SkBlurDrawLooper::kHighQuality_BlurFlag); |
SkAutoUnref aurL0(shadowLooper); |
p.setLooper(shadowLooper); |
fPaints.push_back(p); |