Index: third_party/WebKit/Source/core/css/CSSValuePool.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.cpp b/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
index 5c14bcaf40b171a9fc3454683d5a5eac59af0c14..40b8cb853bb5e1aab9b23b29beb8a70d59990590 100644 |
--- a/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
@@ -25,6 +25,7 @@ |
#include "core/css/CSSValuePool.h" |
+#include "core/css/CSSFontFamilyValue.h" |
#include "core/css/CSSValueList.h" |
#include "core/css/parser/CSSParser.h" |
#include "core/style/ComputedStyle.h" |
@@ -126,11 +127,11 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(const Length |
return CSSPrimitiveValue::create(value, style.effectiveZoom()); |
} |
-PassRefPtrWillBeRawPtr<CSSCustomIdentValue> CSSValuePool::createFontFamilyValue(const String& familyName) |
+PassRefPtrWillBeRawPtr<CSSFontFamilyValue> CSSValuePool::createFontFamilyValue(const String& familyName) |
{ |
- RefPtrWillBeMember<CSSCustomIdentValue>& value = m_fontFamilyValueCache.add(familyName, nullptr).storedValue->value; |
+ RefPtrWillBeMember<CSSFontFamilyValue>& value = m_fontFamilyValueCache.add(familyName, nullptr).storedValue->value; |
if (!value) |
- value = CSSCustomIdentValue::create(familyName); |
+ value = CSSFontFamilyValue::create(familyName); |
return value; |
} |