Index: gm/imagesource2.cpp |
diff --git a/gm/imagesource2.cpp b/gm/imagesource2.cpp |
index 46c42f1d1835798b5c193613e554d44600430511..db8a9f69c418906ba165dfc9baf6ae3cf02c3d48 100644 |
--- a/gm/imagesource2.cpp |
+++ b/gm/imagesource2.cpp |
@@ -41,7 +41,7 @@ protected: |
SK_ColorWHITE, SK_ColorGRAY, |
}; |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(kImageSize, kImageSize)); |
+ auto surface(SkSurface::MakeRasterN32Premul(kImageSize, kImageSize)); |
SkCanvas* canvas = surface->getCanvas(); |
int curColor = 0; |