Index: gm/textblobgeometrychange.cpp |
diff --git a/gm/textblobgeometrychange.cpp b/gm/textblobgeometrychange.cpp |
index bae2381b652a659a10feb620618f12fe771a581f..0632908dfbfa8ee2ffb8fffdd001a6e4f6713f78 100644 |
--- a/gm/textblobgeometrychange.cpp |
+++ b/gm/textblobgeometrychange.cpp |
@@ -44,7 +44,7 @@ protected: |
SkImageInfo info = SkImageInfo::MakeN32Premul(200, 200); |
SkSurfaceProps props(0, kUnknown_SkPixelGeometry); |
- SkAutoTUnref<SkSurface> surface(canvas->newSurface(info, &props)); |
+ auto surface(canvas->makeSurface(info, &props)); |
if (surface) { |
SkCanvas* c = surface->getCanvas(); |