Index: src/core/SkGlyphCache.h |
diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h |
index 3da7a2252f3cc7e313838d4d5ec42e3e9917943f..8447337374586feba017ccf47e916e473da18270 100644 |
--- a/src/core/SkGlyphCache.h |
+++ b/src/core/SkGlyphCache.h |
@@ -197,27 +197,6 @@ private: |
SkGlyph* lookupMetrics(uint32_t id, MetricsType); |
static bool DetachProc(const SkGlyphCache*, void*) { return true; } |
- void detach(SkGlyphCache** head) { |
- if (fPrev) { |
- fPrev->fNext = fNext; |
- } else { |
- *head = fNext; |
- } |
- if (fNext) { |
- fNext->fPrev = fPrev; |
- } |
- fPrev = fNext = NULL; |
- } |
- |
- void attachToHead(SkGlyphCache** head) { |
- SkASSERT(NULL == fPrev && NULL == fNext); |
- if (*head) { |
- (*head)->fPrev = this; |
- fNext = *head; |
- } |
- *head = this; |
- } |
- |
SkGlyphCache* fNext, *fPrev; |
SkDescriptor* fDesc; |
SkScalerContext* fScalerContext; |
@@ -258,9 +237,6 @@ private: |
AuxProcRec* fAuxProcList; |
void invokeAndRemoveAuxProcs(); |
- // This relies on the caller to have already acquired the mutex to access the global cache |
- static size_t InternalFreeCache(SkGlyphCache_Globals*, size_t bytesNeeded); |
- |
inline static SkGlyphCache* FindTail(SkGlyphCache* head); |
friend class SkGlyphCache_Globals; |