Index: src/core/SkFontHost.cpp |
diff --git a/src/core/SkFontHost.cpp b/src/core/SkFontHost.cpp |
index 14cca5a6a58f37132a84a70c0303180c6ddff979..79b7b7302e23002db8be55b547c32fd03495bcd4 100644 |
--- a/src/core/SkFontHost.cpp |
+++ b/src/core/SkFontHost.cpp |
@@ -119,18 +119,11 @@ protected: |
const SkFontStyle&) const SK_OVERRIDE { |
return NULL; |
} |
-#ifdef SK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER |
virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], |
const SkFontStyle& style, |
const char* bcp47[], |
int bcp47Count, |
SkUnichar character) const SK_OVERRIDE { |
-#else |
- virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], |
- const SkFontStyle& style, |
- const char bcp47[], |
- SkUnichar character) const SK_OVERRIDE { |
-#endif |
return NULL; |
} |
virtual SkTypeface* onMatchFaceStyle(const SkTypeface*, |
@@ -179,18 +172,11 @@ SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], |
return this->onMatchFamilyStyle(familyName, fs); |
} |
-#ifdef SK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER |
SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, |
const char* bcp47[], int bcp47Count, |
SkUnichar character) const { |
return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character); |
} |
-#else |
-SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, |
- const char bcp47[], SkUnichar character) const { |
- return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, character); |
-} |
-#endif |
SkTypeface* SkFontMgr::matchFaceStyle(const SkTypeface* face, |
const SkFontStyle& fs) const { |