Index: include/core/SkTypeface.h |
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
index deaa7140e6c9b95695b4e58b99736d1ff01551bd..61618697e8549fac9c9b98fbc34eb9c9d36cf7ed 100644 |
--- a/include/core/SkTypeface.h |
+++ b/include/core/SkTypeface.h |
@@ -360,9 +360,6 @@ protected: |
virtual SkStreamAsset* onOpenStream(int* ttcIndex) const = 0; |
// TODO: make pure virtual. |
virtual std::unique_ptr<SkFontData> onMakeFontData() const; |
-#ifdef SK_DECLARE_LEGACY_CREATE_FROM_FONTDATA |
- virtual SkFontData* onCreateFontData() const { return nullptr; }; |
-#endif |
virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const = 0; |