aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ports/SkFontMgr.h')
-rw-r--r--include/ports/SkFontMgr.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/ports/SkFontMgr.h b/include/ports/SkFontMgr.h
index a961cd48ad..ad6ed545d9 100644
--- a/include/ports/SkFontMgr.h
+++ b/include/ports/SkFontMgr.h
@@ -164,11 +164,7 @@ public:
*/
SkTypeface* createFromFile(const char path[], int ttcIndex = 0) const;
-#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE
- SkTypeface* legacyCreateTypeface(const char familyName[], unsigned typefaceStyleBits) const;
-#else
SkTypeface* legacyCreateTypeface(const char familyName[], SkFontStyle style) const;
-#endif
/**
* Return a ref to the default fontmgr. The caller must call unref() on
@@ -199,12 +195,7 @@ protected:
virtual SkTypeface* onCreateFromFontData(SkFontData*) const;
virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0;
-#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE
- virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
- unsigned styleBits) const = 0;
-#else
virtual SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontStyle) const = 0;
-#endif
private:
static SkFontMgr* Factory(); // implemented by porting layer