Index: gm/bigtileimagefilter.cpp |
diff --git a/gm/bigtileimagefilter.cpp b/gm/bigtileimagefilter.cpp |
index 84b9816a83c70177d57675a4657e4e12f08b2838..7d3d3afeedf25b522a83f45ce57e83e17eddf7aa 100644 |
--- a/gm/bigtileimagefilter.cpp |
+++ b/gm/bigtileimagefilter.cpp |
@@ -11,7 +11,7 @@ |
#include "gm.h" |
static sk_sp<SkImage> create_circle_texture(int size, SkColor color) { |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(size, size)); |
+ auto surface(SkSurface::MakeRasterN32Premul(size, size)); |
SkCanvas* canvas = surface->getCanvas(); |
canvas->clear(0xFF000000); |