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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 424733002: Simplify SVGAnimat\w+Element::parseAttribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Animation element should be inactive in SVGTest change Created 6 years, 5 months 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/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index 903b246481fc94a26cfe1086e3ce0d76039b337b..1b491912267e520b5b13e8bb8bc9889ce1e38dba 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -542,8 +542,9 @@ void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin
setAttributeEventListener(EventTypeNames::endEvent, createAttributeEventListener(this, name, value, eventParameterName()));
} else if (name == SVGNames::onrepeatAttr) {
setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEventListener(this, name, value, eventParameterName()));
- } else
- SVGElement::parseAttribute(name, value);
+ } else {
+ SVGElement::parseAttributeNew(name, value);
+ }
}
void SVGSMILElement::svgAttributeChanged(const QualifiedName& attrName)
« Source/core/svg/SVGAnimationElement.cpp ('K') | « Source/core/svg/SVGAnimationElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698