Index: src/ports/SkFontConfigTypeface.h |
diff --git a/src/ports/SkFontConfigTypeface.h b/src/ports/SkFontConfigTypeface.h |
index b636052c471829e73f6b462aadd0b9c86ffc9f11..1a59d7c1ed303f3ed0be2f495f0f88cfda434fee 100644 |
--- a/src/ports/SkFontConfigTypeface.h |
+++ b/src/ports/SkFontConfigTypeface.h |
@@ -60,7 +60,7 @@ protected: |
void onGetFamilyName(SkString* familyName) const override { *familyName = fFamilyName; } |
void onGetFontDescriptor(SkFontDescriptor*, bool*) const override; |
SkStreamAsset* onOpenStream(int* ttcIndex) const override; |
- SkFontData* onCreateFontData() const override; |
+ std::unique_ptr<SkFontData> onMakeFontData() const override; |
private: |
typedef SkTypeface_FreeType INHERITED; |