Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index 70693ee1445d8774be70bd1a6421f63b03a00192..049d08b6fc4cd44dced34786c931cb2f7ce57034 100644 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -2559,12 +2559,7 @@ protected: |
return create_from_dataProvider(pr); |
} |
-#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE |
- SkTypeface* onLegacyCreateTypeface(const char familyName[], unsigned styleBits) const override { |
- SkFontStyle style = SkFontStyle::FromOldStyle(styleBits); |
-#else |
SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontStyle style) const override { |
-#endif |
if (familyName) { |
familyName = map_css_names(familyName); |
} |