Index: Source/core/css/FontFace.cpp |
diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp |
index 1a251730b35858aa4876e7655cedf46d1544635b..3760985540155e93f8177cc8b95426d6acf9fcb2 100644 |
--- a/Source/core/css/FontFace.cpp |
+++ b/Source/core/css/FontFace.cpp |
@@ -62,10 +62,10 @@ |
namespace blink { |
-static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& s, CSSPropertyID propertyID) |
+static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& value, CSSPropertyID propertyID) |
{ |
CSSParserContext context(*document, UseCounter::getFrom(document)); |
- return CSSParser::parseSingleValue(propertyID, s, context); |
+ return CSSParser::parseFontFaceDescriptor(propertyID, value, context); |
} |
PassRefPtrWillBeRawPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, StringOrArrayBufferOrArrayBufferView& source, const FontFaceDescriptors& descriptors) |