Chromium Code Reviews| 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(); |
| } |