Index: tools/skhello.cpp |
diff --git a/tools/skhello.cpp b/tools/skhello.cpp |
index d033641bf1f1ea9d3cbb4f675e62d25bbc22f645..f7d5b9a00efd1c9f6bf02ca41e2263fa16e20a1f 100644 |
--- a/tools/skhello.cpp |
+++ b/tools/skhello.cpp |
@@ -48,7 +48,7 @@ static bool do_surface(int w, int h, const char path[], const char text[], |
static bool do_document(int w, int h, const char path[], const char text[], |
const SkPaint& paint) { |
- SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(path)); |
+ sk_sp<SkDocument> doc(SkDocument::MakePDF(path)); |
if (doc.get()) { |
SkScalar width = SkIntToScalar(w); |
SkScalar height = SkIntToScalar(h); |