Chromium Code Reviews| Index: Source/core/css/CSSFontSelector.cpp |
| diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp |
| index d984785f0638362ca88bdce4deb68553a3cea4a3..0881d63f83f35c65a7422a78863a59cfdd4ac9fd 100644 |
| --- a/Source/core/css/CSSFontSelector.cpp |
| +++ b/Source/core/css/CSSFontSelector.cpp |
| @@ -130,8 +130,9 @@ static AtomicString familyNameFromSettings(const GenericFontFamilySettings& sett |
| PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDescription, const AtomicString& familyName) |
| { |
| - if (CSSSegmentedFontFace* face = m_fontFaceCache.get(fontDescription, familyName)) |
| + if (CSSSegmentedFontFace* face = m_fontFaceCache.get(fontDescription, familyName)) { |
|
Kunihiko Sakamoto
2015/08/05 10:36:36
Unnecessary braces.
|
| return face->getFontData(fontDescription); |
| + } |
| // Try to return the correct font based off our settings, in case we were handed the generic font family name. |
| AtomicString settingsFamilyName = familyNameFromSettings(m_genericFontFamilySettings, fontDescription, familyName); |