Index: src/core/SkGlyphCache.cpp |
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp |
index 2ab721aab464c74676cde710a711156c125e5a2d..3d29f9f38bb76ea6774ccd5a16f8085eedb26e9d 100755 |
--- a/src/core/SkGlyphCache.cpp |
+++ b/src/core/SkGlyphCache.cpp |
@@ -487,23 +487,6 @@ void SkGlyphCache_Globals::purgeAll() { |
this->internalPurge(fTotalMemoryUsed); |
} |
-void SkGlyphCache::VisitAllCaches(bool (*proc)(SkGlyphCache*, void*), |
- void* context) { |
- SkGlyphCache_Globals& globals = getGlobals(); |
- SkAutoMutexAcquire ac(globals.fMutex); |
- SkGlyphCache* cache; |
- |
- globals.validate(); |
- |
- for (cache = globals.internalGetHead(); cache != NULL; cache = cache->fNext) { |
- if (proc(cache, context)) { |
- break; |
- } |
- } |
- |
- globals.validate(); |
-} |
- |
/* This guy calls the visitor from within the mutext lock, so the visitor |
cannot: |
- take too much time |