| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| index 4e1efafc567c08355306dbf1f255b5a7a7bf2005..934aad812a7358ea383885f2e102f4275a2ec3f4 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| @@ -143,9 +143,9 @@ static FontDescription::GenericFamilyType convertGenericFamily(CSSValueID valueI
|
| static bool convertFontFamilyName(StyleResolverState& state, CSSValue& value,
|
| FontDescription::GenericFamilyType& genericFamily, AtomicString& familyName)
|
| {
|
| - if (value.isCustomIdentValue()) {
|
| + if (value.isFontFamilyValue()) {
|
| genericFamily = FontDescription::NoFamily;
|
| - familyName = AtomicString(toCSSCustomIdentValue(value).value());
|
| + familyName = AtomicString(toCSSFontFamilyValue(value).value());
|
| } else if (state.document().settings()) {
|
| genericFamily = convertGenericFamily(toCSSPrimitiveValue(value).getValueID());
|
| familyName = state.fontBuilder().genericFontFamilyName(genericFamily);
|
|
|