Index: Source/core/css/CSSSegmentedFontFace.cpp |
diff --git a/Source/core/css/CSSSegmentedFontFace.cpp b/Source/core/css/CSSSegmentedFontFace.cpp |
index 434fbdc890b4a8841af81d68c8eb0371e6015829..c0d0f9a390dc9ef5ad99ad543eb00a3bdd1cefcd 100644 |
--- a/Source/core/css/CSSSegmentedFontFace.cpp |
+++ b/Source/core/css/CSSSegmentedFontFace.cpp |
@@ -184,14 +184,10 @@ |
return true; |
} |
-void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription, UChar32 character) |
-{ |
- for (FontFaceList::reverse_iterator it = m_fontFaces.rbegin(); it != m_fontFaces.rend(); ++it) { |
- if ((*it)->loadStatus() != FontFace::Unloaded) |
- break; |
- if ((*it)->cssFontFace()->maybeScheduleFontLoad(fontDescription, character)) |
- break; |
- } |
+void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription) |
+{ |
+ for (FontFaceList::iterator it = m_fontFaces.begin(); it != m_fontFaces.end(); ++it) |
+ (*it)->cssFontFace()->willUseFontData(fontDescription); |
} |
bool CSSSegmentedFontFace::checkFont(const String& text) const |