Index: include/ports/SkFontMgr.h |
diff --git a/include/ports/SkFontMgr.h b/include/ports/SkFontMgr.h |
index a961cd48ad515a3e97b17bb71b08139ef0563ef3..ad6ed545d9d58b6b8decac26a1005790ddb4d2f4 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 |