| Index: gm/rects.cpp
|
| diff --git a/gm/rects.cpp b/gm/rects.cpp
|
| index febf553aa159c187027b862daad3acdec9e66cf1..9600dd5ed5ad73a0e2a0a7193f1af7602f893b31 100644
|
| --- a/gm/rects.cpp
|
| +++ b/gm/rects.cpp
|
| @@ -95,12 +95,12 @@ protected:
|
| p.setColor(SK_ColorWHITE);
|
| p.setAntiAlias(true);
|
| SkBlurDrawLooper* shadowLooper =
|
| - new SkBlurDrawLooper (SK_ColorWHITE,
|
| - SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(10)),
|
| - SkIntToScalar(5), SkIntToScalar(10),
|
| - SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
|
| - SkBlurDrawLooper::kOverrideColor_BlurFlag |
|
| - SkBlurDrawLooper::kHighQuality_BlurFlag);
|
| + SkBlurDrawLooper::Create(SK_ColorWHITE,
|
| + 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);
|
|
|