Index: gm/imageresizetiled.cpp |
diff --git a/gm/imageresizetiled.cpp b/gm/imageresizetiled.cpp |
index d925298adf1534abf08f1c53d35b9aaeb0fa8d9b..3c70a2c585a080f61d6f6b3a1464dea7da4d66fd 100644 |
--- a/gm/imageresizetiled.cpp |
+++ b/gm/imageresizetiled.cpp |
@@ -18,9 +18,9 @@ DEF_SIMPLE_GM(imageresizetiled, canvas, WIDTH, HEIGHT) { |
SkPaint paint; |
SkMatrix matrix; |
matrix.setScale(RESIZE_FACTOR, RESIZE_FACTOR); |
- SkAutoTUnref<SkImageFilter> imageFilter( |
- SkImageFilter::CreateMatrixFilter(matrix, kNone_SkFilterQuality)); |
- paint.setImageFilter(imageFilter.get()); |
+ paint.setImageFilter(SkImageFilter::MakeMatrixFilter(matrix, |
+ kNone_SkFilterQuality, |
+ nullptr)); |
const SkScalar tile_size = SkIntToScalar(100); |
SkRect bounds; |
canvas->getClipBounds(&bounds); |