aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTypefaceCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkTypefaceCache.h')
-rw-r--r--src/core/SkTypefaceCache.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/SkTypefaceCache.h b/src/core/SkTypefaceCache.h
index c6b433dead..792958679c 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();