Chromium Code Reviews| Index: Source/core/svg/SVGSymbolElement.cpp |
| diff --git a/Source/core/svg/SVGSymbolElement.cpp b/Source/core/svg/SVGSymbolElement.cpp |
| index 2d65a2da6f39163f483f2996f5444357c74e18e6..c91fc7a07ad641f9330080726d8dc8067ba4cce8 100644 |
| --- a/Source/core/svg/SVGSymbolElement.cpp |
| +++ b/Source/core/svg/SVGSymbolElement.cpp |
| @@ -30,12 +30,10 @@ |
| namespace WebCore { |
| // Animated property definitions |
| -DEFINE_ANIMATED_BOOLEAN(SVGSymbolElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired) |
| DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGSymbolElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio) |
| DEFINE_ANIMATED_RECT(SVGSymbolElement, SVGNames::viewBoxAttr, ViewBox, viewBox) |
| BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGSymbolElement) |
| - REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
| REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) |
| REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio) |
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
| @@ -58,7 +56,6 @@ bool SVGSymbolElement::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); |
| SVGFitToViewBox::addSupportedAttributes(supportedAttributes); |
| } |
| return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
| @@ -71,8 +68,6 @@ void SVGSymbolElement::parseAttribute(const QualifiedName& name, const AtomicStr |
| return; |
| } |
| - if (SVGExternalResourcesRequired::parseAttribute(name, value)) |
| - return; |
| if (SVGFitToViewBox::parseAttribute(this, name, value)) |
| return; |