Index: src/core/SkTypefaceCache.h |
diff --git a/src/core/SkTypefaceCache.h b/src/core/SkTypefaceCache.h |
index c6b433deadc6245a291331a9d690129d877d396c..792958679c45a926bb4076f14b5edd9f79191d13 100644 |
--- a/src/core/SkTypefaceCache.h |
+++ b/src/core/SkTypefaceCache.h |
@@ -42,14 +42,6 @@ public: |
void add(SkTypeface*, const SkFontStyle& requested); |
/** |
- * Search the cache for a typeface with the specified fontID (uniqueID). |
- * If one is found, return it (its reference count is unmodified). If none |
- * is found, return NULL. The reference count is unmodified as it is |
- * assumed that the stack will contain a ref to the typeface. |
- */ |
- SkTypeface* findByID(SkFontID findID) const; |
- |
- /** |
* Iterate through the cache, calling proc(typeface, ctx) with each |
* typeface. If proc returns true, then we return that typeface (this |
* ref()s the typeface). If it never returns true, we return NULL. |
@@ -73,7 +65,6 @@ public: |
// These are static wrappers around a global instance of a cache. |
static void Add(SkTypeface*, const SkFontStyle& requested); |
- static SkTypeface* FindByID(SkFontID fontID); |
static SkTypeface* FindByProcAndRef(FindProc proc, void* ctx); |
static void PurgeAll(); |