Searched refs:shouldRetain (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDataCache.cpp48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain shouldRetain) argument
55 pair<RefPtr<SimpleFontData>, unsigned> newValue(SimpleFontData::create(*platformData), shouldRetain == Retain ? 1 : 0);
57 if (shouldRetain == DoNotRetain)
67 if (shouldRetain == Retain) {
70 // If shouldRetain is DoNotRetain and count is 0, we want to remove the fontData from
H A DFontCache.cpp143 PassRefPtr<SimpleFontData> FontCache::getFontData(const FontDescription& fontDescription, const AtomicString& family, bool checkingAlternateName, ShouldRetain shouldRetain) argument
146 return fontDataFromFontPlatformData(platformData, shouldRetain);
151 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData, ShouldRetain shouldRetain) argument
157 if (shouldRetain == DoNotRetain)
161 return gFontDataCache->get(platformData, shouldRetain);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontCacheMac.mm187 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
193 RefPtr<SimpleFontData> simpleFontData = getFontData(fontDescription, timesStr, false, shouldRetain);
202 return getFontData(fontDescription, lucidaGrandeStr, false, shouldRetain);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DFontCacheSkia.cpp137 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description, ShouldRetain shouldRetain) argument
164 return fontDataFromFontPlatformData(fontPlatformData, shouldRetain);

Completed in 387 milliseconds