Index: gm/circles.cpp |
diff --git a/gm/circles.cpp b/gm/circles.cpp |
index 4d3e33daee5aab875b025394984668ba33b923de..d9b25c0df364b6a6869bca67bdd89bce3b12cafb 100644 |
--- a/gm/circles.cpp |
+++ b/gm/circles.cpp |
@@ -76,15 +76,12 @@ protected: |
// AA with blur |
SkPaint p; |
p.setAntiAlias(true); |
- SkDrawLooper* shadowLooper = |
- SkBlurDrawLooper::Create(SK_ColorBLUE, |
+ p.setLooper(SkBlurDrawLooper::Make(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); |
+ SkBlurDrawLooper::kHighQuality_BlurFlag)); |
fPaints.push_back(p); |
} |