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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGResources.cpp

Issue 2743293002: Remove <filter> from the chainableResourceTags set (Closed)
Patch Set: Remove include Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp b/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
index f33e7b81e96a0415194e0135a7bae17f4233b110..4b48258e4c4004b0f99d08b5e1aac6a8f9a41fd7 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
@@ -26,7 +26,6 @@
#include "core/layout/svg/LayoutSVGResourceMasker.h"
#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
#include "core/style/ComputedStyle.h"
-#include "core/svg/SVGFilterElement.h"
#include "core/svg/SVGGradientElement.h"
#include "core/svg/SVGPatternElement.h"
#include "core/svg/SVGURIReference.h"
@@ -102,8 +101,8 @@ static HashSet<AtomicString>& fillAndStrokeTags() {
static HashSet<AtomicString>& chainableResourceTags() {
DEFINE_STATIC_LOCAL(HashSet<AtomicString>, s_tagList,
({
- linearGradientTag.localName(), filterTag.localName(),
- patternTag.localName(), radialGradientTag.localName(),
+ linearGradientTag.localName(), patternTag.localName(),
+ radialGradientTag.localName(),
}));
return s_tagList;
}
@@ -114,8 +113,6 @@ static inline AtomicString targetReferenceFromResource(SVGElement& element) {
target = toSVGPatternElement(element).href()->currentValue()->value();
else if (isSVGGradientElement(element))
target = toSVGGradientElement(element).href()->currentValue()->value();
- else if (isSVGFilterElement(element))
- target = toSVGFilterElement(element).href()->currentValue()->value();
else
ASSERT_NOT_REACHED();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698