Searched refs:gFontPlatformDataCache (Results 1 – 1 of 1) sorted by relevance
65 static FontPlatformDataCache* gFontPlatformDataCache = 0; variable92 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()117 …gFontPlatformDataCache->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 …]