Index: gm/colorfilterimagefilter.cpp |
diff --git a/gm/colorfilterimagefilter.cpp b/gm/colorfilterimagefilter.cpp |
index f2f46fd8888b7ce364e010357fdc6a12c6533641..b34058f9d74d3c2aba6e6caf9ca8a68d2194e07d 100644 |
--- a/gm/colorfilterimagefilter.cpp |
+++ b/gm/colorfilterimagefilter.cpp |
@@ -19,7 +19,7 @@ |
#define MARGIN SkIntToScalar(10) |
static SkImageFilter* make_blur(float amount, SkImageFilter* input = NULL) { |
- return new SkBlurImageFilter(amount, amount, input); |
+ return SkBlurImageFilter::Create(amount, amount, input); |
} |
static SkImageFilter* make_brightness(float amount, SkImageFilter* input = NULL) { |