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 fd342613ea19d225c64ec20ef1ab92bd34b1ffb6..6a3dfe14843c41b22a7343deb8d1a98587e2f8dd 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -142,9 +142,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); |