void FontFallbackList::invalidate(PassRefPtr<FontSelector> fontSelector) { releaseFontData(); m_fontList.clear(); m_familyIndex = 0; m_pitch = UnknownPitch; m_loadingCustomFonts = false; m_fontSelector = fontSelector; m_generation = FontCache::generation(); }
void FontFallbackList::invalidate(WTF::PassRefPtr<WebCore::FontSelector> fontSelector) { releaseFontData(); m_fontList.clear(); m_pageZero = 0; m_pages.clear(); m_cachedPrimarySimpleFontData = 0; m_familyIndex = 0; m_pitch = UnknownPitch; m_loadingCustomFonts = false; m_fontSelector = fontSelector; m_generation = 0; }
void FontFallbackList::invalidate(PassRefPtr<FontSelector> fontSelector) { releaseFontData(); m_fontList.clear(); m_pageZero = 0; m_pages.clear(); m_cachedPrimarySimpleFontData = 0; m_familyIndex = 0; m_pitch = UnknownPitch; m_loadingCustomFonts = false; m_fontSelector = fontSelector; m_fontSelectorVersion = m_fontSelector ? m_fontSelector->version() : 0; m_generation = fontCache()->generation(); }
void FontFallbackList::invalidate(PassRefPtrWillBeRawPtr<FontSelector> fontSelector) { releaseFontData(); m_fontList.clear(); m_pageZero = 0; m_pages.clear(); m_cachedPrimarySimpleFontData = 0; m_familyIndex = 0; m_hasLoadingFallback = false; if (m_fontSelector != fontSelector) m_fontSelector = fontSelector; m_fontSelectorVersion = m_fontSelector ? m_fontSelector->version() : 0; m_generation = FontCache::fontCache()->generation(); }
/* ================ Font::shutdown ================ */ void Font::shutdown() { releaseTexture(); releaseFontData(); }