Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2165833006: Merge CSSSVGDocumentValue with CSSURIValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup FilterInterpolationFunctions Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.cpp ('k') | third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698