Index: include/ports/SkFontConfigInterface.h |
diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h |
index dfa5bd0b1350b16f23d7e583d73c6d6a907001b9..536768a8bf4a8d4e41da28765c7069558ffa01ac 100644 |
--- a/include/ports/SkFontConfigInterface.h |
+++ b/include/ports/SkFontConfigInterface.h |
@@ -101,11 +101,6 @@ public: |
virtual sk_sp<SkTypeface> makeTypeface(const FontIdentity& identity) { |
return SkTypeface::MakeFromStream(this->openStream(identity), identity.fTTCIndex); |
} |
-#ifdef SK_SUPPORT_LEGACY_TYPEFACE_PTR |
- virtual SkTypeface* createTypeface(const FontIdentity& identity) { |
- return this->makeTypeface(identity).release(); |
- } |
-#endif |
/** |
* Return a singleton instance of a direct subclass that calls into |