Index: gm/imageblur.cpp |
diff --git a/gm/imageblur.cpp b/gm/imageblur.cpp |
index 4c3f42d825ce194d502013740c9e7a8fd48423ed..ff8a4812cfb5cf86054f9adf4604c197a07cf17d 100644 |
--- a/gm/imageblur.cpp |
+++ b/gm/imageblur.cpp |
@@ -33,7 +33,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
SkPaint paint; |
- paint.setImageFilter(new SkBlurImageFilter(fSigmaX, fSigmaY))->unref(); |
+ paint.setImageFilter(SkBlurImageFilter::Create(fSigmaX, fSigmaY))->unref(); |
canvas->saveLayer(NULL, &paint); |
const char* str = "The quick brown fox jumped over the lazy dog."; |