diff options
Diffstat (limited to 'include/ports')
-rw-r--r-- | include/ports/SkFontConfigInterface.h | 3 | ||||
-rw-r--r-- | include/ports/SkFontMgr_indirect.h | 5 | ||||
-rw-r--r-- | include/ports/SkRemotableFontMgr.h | 9 |
3 files changed, 0 insertions, 17 deletions
diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h index 74f766f52e..ff80e5fb38 100644 --- a/include/ports/SkFontConfigInterface.h +++ b/include/ports/SkFontConfigInterface.h @@ -109,9 +109,6 @@ public: */ static SkFontConfigInterface* GetSingletonDirectInterface(); - // New APIS, which have default impls for now (which do nothing) - - virtual sk_sp<SkDataTable> getFamilyNames() { return SkDataTable::MakeEmpty(); } typedef SkRefCnt INHERITED; }; diff --git a/include/ports/SkFontMgr_indirect.h b/include/ports/SkFontMgr_indirect.h index 6c258c851d..b9ab3ba913 100644 --- a/include/ports/SkFontMgr_indirect.h +++ b/include/ports/SkFontMgr_indirect.h @@ -11,7 +11,6 @@ #include "../private/SkMutex.h" #include "../private/SkOnce.h" #include "../private/SkTArray.h" -#include "SkDataTable.h" #include "SkFontMgr.h" #include "SkRefCnt.h" #include "SkRemotableFontMgr.h" @@ -95,10 +94,6 @@ private: mutable SkTArray<DataEntry> fDataCache; mutable SkMutex fDataCacheMutex; - mutable sk_sp<SkDataTable> fFamilyNames; - mutable SkOnce fFamilyNamesInitOnce; - static void set_up_family_names(const SkFontMgr_Indirect* self); - friend class SkStyleSet_Indirect; }; diff --git a/include/ports/SkRemotableFontMgr.h b/include/ports/SkRemotableFontMgr.h index 2e028cee26..12050c7e07 100644 --- a/include/ports/SkRemotableFontMgr.h +++ b/include/ports/SkRemotableFontMgr.h @@ -56,15 +56,6 @@ private: class SK_API SkRemotableFontMgr : public SkRefCnt { public: /** - * Returns the names of the known fonts on the system. - * Will not return NULL, will return an empty table if no families exist. - * - * The indexes may be used with getIndex(int) and - * matchIndexStyle(int, SkFontStyle). - */ - virtual sk_sp<SkDataTable> getFamilyNames() const = 0; - - /** * Returns all of the fonts with the given familyIndex. * Returns NULL if the index is out of bounds. * Returns empty if there are no fonts at the given index. |