Index: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
index 848d763e1746da23b269205cbe9cbb3604cc224c..9e1233aae880c4d28337adc9bf1ecc31dc79e12c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
@@ -156,21 +156,15 @@ void SVGAnimateElement::parseAttribute( |
const AttributeModificationParams& params) { |
if (params.name == SVGNames::attributeTypeAttr) { |
setAttributeType(params.newValue); |
+ animationAttributeChanged(); |
return; |
} |
- SVGAnimationElement::parseAttribute(params); |
-} |
- |
-void SVGAnimateElement::svgAttributeChanged(const QualifiedName& attrName) { |
- if (attrName == SVGNames::attributeTypeAttr) { |
- } else if (attrName == SVGNames::attributeNameAttr) { |
- setAttributeName(constructQualifiedName( |
- *this, fastGetAttribute(SVGNames::attributeNameAttr))); |
- } else { |
- SVGAnimationElement::svgAttributeChanged(attrName); |
+ if (params.name == SVGNames::attributeNameAttr) { |
+ setAttributeName(constructQualifiedName(*this, params.newValue)); |
+ animationAttributeChanged(); |
return; |
} |
- animationAttributeChanged(); |
+ SVGAnimationElement::parseAttribute(params); |
} |
void SVGAnimateElement::resolveTargetProperty() { |