Home
last modified time | relevance | path

Searched refs:gFontPlatformDataCache (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontCache.cpp65 static FontPlatformDataCache* gFontPlatformDataCache = 0; variable
92 if (!gFontPlatformDataCache) { in getFontPlatformData()
93 gFontPlatformDataCache = new FontPlatformDataCache; in getFontPlatformData()
100 FontPlatformDataCache::iterator it = gFontPlatformDataCache->find(key); in getFontPlatformData()
101 if (it == gFontPlatformDataCache->end()) { in getFontPlatformData()
103 gFontPlatformDataCache->set(key, adoptPtr(result)); in getFontPlatformData()
117gFontPlatformDataCache->set(key, adoptPtr(new FontPlatformData(*result))); // Cache the result und… in getFontPlatformData()
190 if (!gFontPlatformDataCache) in purgePlatformFontDataCache()
194 keysToRemove.reserveInitialCapacity(gFontPlatformDataCache->size()); in purgePlatformFontDataCache()
195 FontPlatformDataCache::iterator platformDataEnd = gFontPlatformDataCache->end(); in purgePlatformFontDataCache()
[all …]