Index: gm/imagefiltersclipped.cpp |
diff --git a/gm/imagefiltersclipped.cpp b/gm/imagefiltersclipped.cpp |
index 26ee24b1d45daef2daa0ca139570bbcd762ecaed..01b0a43fcbb6a84f8df09a245e3aa8b3bd1b4708 100644 |
--- a/gm/imagefiltersclipped.cpp |
+++ b/gm/imagefiltersclipped.cpp |
@@ -47,7 +47,7 @@ protected: |
SkScalar x = SkIntToScalar(width / 2); |
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); |
SkColor colors[2]; |