| Index: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| index b542e535169b0c263c4105f8a3c3defd29327e48..56a59ef24e4a8ed23a3914172d06f1f0e82c820f 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| @@ -133,12 +133,10 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(const FontDescription& fo
|
| return nullptr;
|
| }
|
|
|
| -void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription, UChar32 character)
|
| +void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription, const String& text)
|
| {
|
| 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))
|
| + if ((*it)->willUseFontData(fontDescription, text))
|
| break;
|
| }
|
| }
|
|
|