Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index 4243902efe99bd20efcb893985e38952fa1fef42..e9a6a5da6d7f7c26ee0a55cd7062ec6066b88e5a 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -29,7 +29,7 @@ static sk_sp<SkImage> make_gradient_circle(int width, int height) { |
SkScalar y = SkIntToScalar(height / 2); |
SkScalar radius = SkMinScalar(x, y) * 0.8f; |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(width, height)); |
+ auto surface(SkSurface::MakeRasterN32Premul(width, height)); |
SkCanvas* canvas = surface->getCanvas(); |
canvas->clear(0x00000000); |