aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTypeface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkTypeface.h')
-rw-r--r--include/core/SkTypeface.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
index deaa7140e6..61618697e8 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;