Index: gm/resizeimagefilter.cpp |
diff --git a/gm/resizeimagefilter.cpp b/gm/resizeimagefilter.cpp |
index 2236b76b3e4a38aa393b3416c010d77ab16ed410..b8ed100548e0d3dc048006e9ee6de9927b19fa09 100644 |
--- a/gm/resizeimagefilter.cpp |
+++ b/gm/resizeimagefilter.cpp |
@@ -87,7 +87,7 @@ protected: |
deviceSize, |
kHigh_SkFilterQuality); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(16, 16)); |
+ auto surface(SkSurface::MakeRasterN32Premul(16, 16)); |
SkCanvas* surfaceCanvas = surface->getCanvas(); |
surfaceCanvas->clear(0x000000); |
{ |