Changeset 158088 in webkit for trunk/Source/WebCore/css/CSSFontFaceSource.cpp
- Timestamp:
- Oct 26, 2013, 11:39:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSFontFaceSource.cpp
r158085 r158088 171 171 fontSelector->beginLoadingFontSoon(m_font.get()); 172 172 173 RefPtr<SimpleFontData> fallback = fontSelector->userStandardFont(fontDescription);174 if (!fallback)175 fallback = fontCache()->getLastResortFallbackFont(fontDescription);176 fontData = SimpleFontData::create( fallback->platformData(), /*isCustomFont*/ true, /*isLoading*/true);173 // This temporary font is not retained and should not be returned. 174 FontCachePurgePreventer fontCachePurgePreventer; 175 SimpleFontData* temporaryFont = fontCache()->getNonRetainedLastResortFallbackFont(fontDescription); 176 fontData = SimpleFontData::create(temporaryFont->platformData(), true, true); 177 177 } 178 178
Note:
See TracChangeset
for help on using the changeset viewer.