| Index: Source/core/css/parser/CSSParser.cpp
|
| diff --git a/Source/core/css/parser/CSSParser.cpp b/Source/core/css/parser/CSSParser.cpp
|
| index 97117b87302adbcd7312c2a12ab17214670c874c..079c235ff8dc080211047699ef3ba0ad921f71ac 100644
|
| --- a/Source/core/css/parser/CSSParser.cpp
|
| +++ b/Source/core/css/parser/CSSParser.cpp
|
| @@ -51,11 +51,12 @@ void CSSParser::parseSheetForInspector(const CSSParserContext& context, StyleShe
|
| return CSSParserImpl::parseStyleSheetForInspector(text, context, styleSheet, observer);
|
| }
|
|
|
| -bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID unresolvedProperty, const String& string, bool important, CSSParserMode parserMode, StyleSheetContents* styleSheet)
|
| +bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID unresolvedProperty, const String& string, bool important, StyleSheetContents* styleSheet)
|
| {
|
| if (string.isEmpty())
|
| return false;
|
| CSSPropertyID resolvedProperty = resolveCSSPropertyID(unresolvedProperty);
|
| + CSSParserMode parserMode = declaration->cssParserMode();
|
| RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::maybeParseValue(resolvedProperty, string, parserMode);
|
| if (value)
|
| return declaration->setProperty(CSSProperty(resolvedProperty, value.release(), important));
|
|
|