Index: gm/spritebitmap.cpp |
diff --git a/gm/spritebitmap.cpp b/gm/spritebitmap.cpp |
index 5884efeca01addef0c968908743836b209d409ee..f7997eeaba146da647e3991139e85c6e04edbe50 100644 |
--- a/gm/spritebitmap.cpp |
+++ b/gm/spritebitmap.cpp |
@@ -78,7 +78,7 @@ protected: |
int dy = 10; |
SkScalar sigma = 8; |
- SkAutoTUnref<SkImageFilter> filter(new SkBlurImageFilter(sigma, sigma)); |
+ SkAutoTUnref<SkImageFilter> filter(SkBlurImageFilter::Create(sigma, sigma)); |
draw_2_bitmaps(canvas, bm, false, dx, dy); |
dy += bm.height() + 20; |