Index: src/core/SkTypeface.cpp |
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp |
index a4e814a534d3f83169707569a6ae13fb523cde1f..90a1eaabeca08d956974e96812bb5273ec5a0ffb 100644 |
--- a/src/core/SkTypeface.cpp |
+++ b/src/core/SkTypeface.cpp |
@@ -109,12 +109,6 @@ bool SkTypeface::Equal(const SkTypeface* facea, const SkTypeface* faceb) { |
/////////////////////////////////////////////////////////////////////////////// |
-#ifdef SK_SUPPORT_LEGACY_TYPEFACE_MAKE_FROM_NAME |
-sk_sp<SkTypeface> SkTypeface::MakeFromName(const char name[], Style style) { |
- return MakeFromName(name, SkFontStyle::FromOldStyle(style)); |
-} |
-#endif |
- |
sk_sp<SkTypeface> SkTypeface::MakeFromName(const char name[], |
SkFontStyle fontStyle) { |
if (gCreateTypefaceDelegate) { |