diff options
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp index d033641bf1..f7d5b9a00e 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); |