| Index: third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| index 815048f571930a99b3e9495fc809b0be309b3f53..eef8eb1145063e8c025e711228b0a8e30d5f448b 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| @@ -152,15 +152,15 @@ void CSSFontSelector::willUseRange(const FontDescription& fontDescription,
|
| face->willUseRange(fontDescription, rangeSet);
|
| }
|
|
|
| -bool CSSFontSelector::isPlatformFontAvailable(
|
| +bool CSSFontSelector::isPlatformFamilyMatchAvailable(
|
| const FontDescription& fontDescription,
|
| const AtomicString& passedFamily) {
|
| AtomicString family = familyNameFromSettings(m_genericFontFamilySettings,
|
| fontDescription, passedFamily);
|
| if (family.isEmpty())
|
| family = passedFamily;
|
| - return FontCache::fontCache()->isPlatformFontAvailable(fontDescription,
|
| - family);
|
| + return FontCache::fontCache()->isPlatformFamilyMatchAvailable(fontDescription,
|
| + family);
|
| }
|
|
|
| void CSSFontSelector::updateGenericFontFamilySettings(Document& document) {
|
|
|