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

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: 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..cfe428329ac6a2f0e5a8f27940e824790726e885 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"
@@ -1461,7 +1460,7 @@ static CSSValue* consumeFilter(CSSParserTokenRange& range, const CSSParserContex
CSSFunctionValue* filterValue = nullptr;
if (!url.isNull()) {
filterValue = CSSFunctionValue::create(CSSValueUrl);
- filterValue->append(*CSSSVGDocumentValue::create(url));
+ filterValue->append(*CSSURIValue::create(url));
} else {
filterValue = consumeFilterFunction(range, context);
if (!filterValue)

Powered by Google App Engine
This is Rietveld 408576698