Index: gm/imageblur.cpp |
diff --git a/gm/imageblur.cpp b/gm/imageblur.cpp |
index 22ea408e279909d8bcc7c6e1ed634a32a2a69e11..6a27c65beb9ffaccf9cc2a385fdb2c4ae2d17efd 100644 |
--- a/gm/imageblur.cpp |
+++ b/gm/imageblur.cpp |
@@ -14,8 +14,7 @@ |
void imageblurgm_draw(SkScalar fSigmaX, SkScalar fSigmaY, SkCanvas* canvas) { |
SkPaint paint; |
- SkAutoTUnref<SkImageFilter> blur(SkBlurImageFilter::Create(fSigmaX, fSigmaY)); |
- paint.setImageFilter(blur); |
+ paint.setImageFilter(SkBlurImageFilter::Make(fSigmaX, fSigmaY, nullptr)); |
canvas->saveLayer(nullptr, &paint); |
const char* str = "The quick brown fox jumped over the lazy dog."; |