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

Unified Diff: Source/core/svg/SVGClipPathElement.cpp

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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: Source/core/svg/SVGClipPathElement.cpp
diff --git a/Source/core/svg/SVGClipPathElement.cpp b/Source/core/svg/SVGClipPathElement.cpp
index de8058f0c5090c5055d64bfcc95bf0a84ba8ec37..93b399a0a835d129b13011ac91b6807d77ae47c2 100644
--- a/Source/core/svg/SVGClipPathElement.cpp
+++ b/Source/core/svg/SVGClipPathElement.cpp
@@ -31,11 +31,9 @@ namespace WebCore {
// Animated property definitions
DEFINE_ANIMATED_ENUMERATION(SVGClipPathElement, SVGNames::clipPathUnitsAttr, ClipPathUnits, clipPathUnits, SVGUnitTypes::SVGUnitType)
-DEFINE_ANIMATED_BOOLEAN(SVGClipPathElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGClipPathElement)
REGISTER_LOCAL_ANIMATED_PROPERTY(clipPathUnits)
- REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
END_REGISTER_ANIMATED_PROPERTIES
@@ -57,7 +55,6 @@ bool SVGClipPathElement::isSupportedAttribute(const QualifiedName& attrName)
{
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
if (supportedAttributes.isEmpty()) {
Stephen Chennney 2013/11/06 16:45:43 Remove braces.
Erik Dahlström (inactive) 2013/11/07 09:38:04 Done.
- SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes);
supportedAttributes.add(SVGNames::clipPathUnitsAttr);
}
return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
@@ -77,9 +74,6 @@ void SVGClipPathElement::parseAttribute(const QualifiedName& name, const AtomicS
return;
}
- if (SVGExternalResourcesRequired::parseAttribute(name, value))
- return;
-
ASSERT_NOT_REACHED();
}

Powered by Google App Engine
This is Rietveld 408576698