Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index aa6a3ce3411f712f5e56e3f0aa590c723826773a..fa5c9722b81b8aca73e82c48e28b37298f54bc01 100644 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -1930,7 +1930,7 @@ static SkTypeface* create_from_stream(SkStreamAsset* stream) { |
} |
// Change the name of the font. |
- SkAutoTUnref<SkData> rewrittenFontData(SkOTUtils::RenameFont(stream, familyName, familyNameSize-1)); |
+ sk_sp<SkData> rewrittenFontData(SkOTUtils::RenameFont(stream, familyName, familyNameSize-1)); |
if (nullptr == rewrittenFontData.get()) { |
return nullptr; |
} |