Index: gm/mipmap.cpp |
diff --git a/gm/mipmap.cpp b/gm/mipmap.cpp |
index 4b1912a99c2ae0919950d465362f601b5dc58543..9a0f0601628482afa41a4198d29380358230820b 100644 |
--- a/gm/mipmap.cpp |
+++ b/gm/mipmap.cpp |
@@ -13,7 +13,7 @@ |
static sk_sp<SkImage> make_image() { |
const SkImageInfo info = SkImageInfo::MakeN32Premul(319, 52); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRaster(info)); |
+ auto surface(SkSurface::MakeRaster(info)); |
SkCanvas* canvas = surface->getCanvas(); |
canvas->drawColor(sk_tool_utils::color_to_565(0xFFF8F8F8)); |