Index: Source/core/css/parser/CSSParserImpl.cpp |
diff --git a/Source/core/css/parser/CSSParserImpl.cpp b/Source/core/css/parser/CSSParserImpl.cpp |
index a37e7da44c9e386944f20ff680d975a07d8722a5..f0da1b94a74d9a419301b402ace11c45da31f176 100644 |
--- a/Source/core/css/parser/CSSParserImpl.cpp |
+++ b/Source/core/css/parser/CSSParserImpl.cpp |
@@ -15,7 +15,6 @@ |
#include "core/css/parser/CSSParserObserver.h" |
#include "core/css/parser/CSSParserObserverWrapper.h" |
#include "core/css/parser/CSSParserSelector.h" |
-#include "core/css/parser/CSSParserValues.h" |
#include "core/css/parser/CSSPropertyParser.h" |
#include "core/css/parser/CSSSelectorParser.h" |
#include "core/css/parser/CSSSupportsParser.h" |
@@ -706,10 +705,7 @@ void CSSParserImpl::consumeDeclaration(CSSParserTokenRange range, StyleRule::Typ |
void CSSParserImpl::consumeDeclarationValue(CSSParserTokenRange range, CSSPropertyID unresolvedProperty, bool important, StyleRule::Type ruleType) |
{ |
- CSSParserValueList valueList(range); |
- if (!valueList.size()) |
- return; // Parser error |
- CSSPropertyParser::parseValue(unresolvedProperty, important, &valueList, m_context, m_parsedProperties, ruleType); |
+ CSSPropertyParser::parseValue(unresolvedProperty, important, range, m_context, m_parsedProperties, ruleType); |
} |
PassOwnPtr<Vector<double>> CSSParserImpl::consumeKeyframeKeyList(CSSParserTokenRange range) |