aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_indirect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ports/SkFontMgr_indirect.h')
-rw-r--r--include/ports/SkFontMgr_indirect.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ports/SkFontMgr_indirect.h b/include/ports/SkFontMgr_indirect.h
index b3f31c3b8e..5e8f1ede70 100644
--- a/include/ports/SkFontMgr_indirect.h
+++ b/include/ports/SkFontMgr_indirect.h
@@ -54,11 +54,7 @@ protected:
SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const override;
SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const override;
-#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE
- SkTypeface* onLegacyCreateTypeface(const char familyName[], unsigned styleBits) const override;
-#else
SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontStyle) const override;
-#endif
private:
SkTypeface* createTypefaceFromFontId(const SkFontIdentity& fontId) const;