Index: gm/imagefiltersscaled.cpp |
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp |
index 391f4e5c1cd86aa37d16f22cfc95b0adb9197adc..9c0150001c5a6f56c600b731e083e9237bc7c9fc 100644 |
--- a/gm/imagefiltersscaled.cpp |
+++ b/gm/imagefiltersscaled.cpp |
@@ -139,7 +139,7 @@ private: |
SkScalar x = SkIntToScalar(width / 2); |
SkScalar y = SkIntToScalar(height / 2); |
SkScalar radius = SkScalarMul(SkMinScalar(x, y), SkIntToScalar(4) / SkIntToScalar(5)); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(width, height)); |
+ auto surface(SkSurface::MakeRasterN32Premul(width, height)); |
SkCanvas* canvas = surface->getCanvas(); |
canvas->clear(0x00000000); |
SkColor colors[2]; |