Index: Source/core/css/CSSFontSelector.cpp |
diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp |
index 166e2c3e4baf39c25e96828154d8666300bfc254..b0de5dca191df4579048235adb782960ab2e9336 100644 |
--- a/Source/core/css/CSSFontSelector.cpp |
+++ b/Source/core/css/CSSFontSelector.cpp |
@@ -204,14 +204,9 @@ PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDes |
return FontCache::fontCache()->getFontData(fontDescription, settingsFamilyName); |
} |
-CSSSegmentedFontFace* CSSFontSelector::getFontFace(const FontDescription& fontDescription, const AtomicString& familyName) |
-{ |
- return m_cssSegmentedFontFaceCache.get(fontDescription, familyName); |
-} |
- |
void CSSFontSelector::willUseFontData(const FontDescription& fontDescription, const AtomicString& family) |
{ |
- CSSSegmentedFontFace* face = getFontFace(fontDescription, family); |
+ CSSSegmentedFontFace* face = m_cssSegmentedFontFaceCache.get(fontDescription, family); |
if (face) |
face->willUseFontData(fontDescription); |
} |