Index: gm/textblobrandomfont.cpp |
diff --git a/gm/textblobrandomfont.cpp b/gm/textblobrandomfont.cpp |
index f21380ee381aed2286d535bc3303b23b1c374109..ce726f2e866e95a62708721f0695930436001daf 100644 |
--- a/gm/textblobrandomfont.cpp |
+++ b/gm/textblobrandomfont.cpp |
@@ -102,7 +102,7 @@ protected: |
SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); |
SkSurfaceProps props(0, kUnknown_SkPixelGeometry); |
- SkAutoTUnref<SkSurface> surface(canvas->newSurface(info, &props)); |
+ auto surface(canvas->makeSurface(info, &props)); |
if (surface) { |
SkPaint paint; |
paint.setAntiAlias(true); |