Index: gm/imageresizetiled.cpp |
diff --git a/gm/imageresizetiled.cpp b/gm/imageresizetiled.cpp |
index ba154d14f4314ac541008008783341908321505c..eba87c5f1f61424309a77e04f2a7d8081fb11073 100644 |
--- a/gm/imageresizetiled.cpp |
+++ b/gm/imageresizetiled.cpp |
@@ -37,7 +37,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
SkAutoTUnref<SkImageFilter> imageFilter( |
- new SkResizeImageFilter(RESIZE_FACTOR, RESIZE_FACTOR, SkPaint::kNone_FilterLevel)); |
+ SkResizeImageFilter::Create(RESIZE_FACTOR, RESIZE_FACTOR, SkPaint::kNone_FilterLevel)); |
paint.setImageFilter(imageFilter.get()); |
const SkScalar tile_size = SkIntToScalar(100); |
SkRect bounds; |