Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
index 6a5ef8dd3e0efa8398445c3fad36c36a0422aac8..aed4cc9c3536a42ae32d3300d20f4b57e76ed874 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -29,7 +29,6 @@ |
#include "core/css/CSSPrimitiveValueMappings.h" |
#include "core/css/CSSQuadValue.h" |
#include "core/css/CSSReflectValue.h" |
-#include "core/css/CSSSVGDocumentValue.h" |
#include "core/css/CSSShadowValue.h" |
#include "core/css/CSSStringValue.h" |
#include "core/css/CSSTimingFunctionValue.h" |
@@ -1458,10 +1457,9 @@ static CSSValue* consumeFilter(CSSParserTokenRange& range, const CSSParserContex |
CSSValueList* list = CSSValueList::createSpaceSeparated(); |
do { |
String url = consumeUrl(range); |
- CSSFunctionValue* filterValue = nullptr; |
+ CSSValue* filterValue = nullptr; |
if (!url.isNull()) { |
- filterValue = CSSFunctionValue::create(CSSValueUrl); |
- filterValue->append(*CSSSVGDocumentValue::create(url)); |
+ filterValue = CSSURIValue::create(url); |
} else { |
filterValue = consumeFilterFunction(range, context); |
if (!filterValue) |