Index: Source/core/svg/SVGClipPathElement.cpp |
diff --git a/Source/core/svg/SVGClipPathElement.cpp b/Source/core/svg/SVGClipPathElement.cpp |
index c4224f1cfa5d56f874e2fe38e57b32612d47e757..f0678300cf519384e4d64dbdb55a7db1e9d71098 100644 |
--- a/Source/core/svg/SVGClipPathElement.cpp |
+++ b/Source/core/svg/SVGClipPathElement.cpp |
@@ -30,11 +30,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 |
@@ -54,10 +52,9 @@ PassRefPtr<SVGClipPathElement> SVGClipPathElement::create(Document& document) |
bool SVGClipPathElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
- if (supportedAttributes.isEmpty()) { |
- SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
+ if (supportedAttributes.isEmpty()) |
supportedAttributes.add(SVGNames::clipPathUnitsAttr); |
- } |
+ |
return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
} |
@@ -75,9 +72,6 @@ void SVGClipPathElement::parseAttribute(const QualifiedName& name, const AtomicS |
return; |
} |
- if (SVGExternalResourcesRequired::parseAttribute(name, value)) |
- return; |
- |
ASSERT_NOT_REACHED(); |
} |