Index: gm/imageblurtiled.cpp |
diff --git a/gm/imageblurtiled.cpp b/gm/imageblurtiled.cpp |
index 96df4367b43d0667b1af7de143b9cef078ff2c6c..c3bcab998b8d746b4c74ea134c0db8c3a8126e7e 100644 |
--- a/gm/imageblurtiled.cpp |
+++ b/gm/imageblurtiled.cpp |
@@ -31,7 +31,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
SkPaint paint; |
- paint.setImageFilter(new SkBlurImageFilter(fSigmaX, fSigmaY))->unref(); |
+ paint.setImageFilter(SkBlurImageFilter::Create(fSigmaX, fSigmaY))->unref(); |
const SkScalar tile_size = SkIntToScalar(128); |
SkRect bounds; |
canvas->getClipBounds(&bounds); |