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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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: 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 90170a52bbdd646ca402846e91abb5acbfa81730..a102842085bc1dfeee5e7aa369ec49303049295d 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
@@ -152,14 +152,13 @@ void SVGAnimateElement::removedFrom(ContainerNode* rootParent) {
SVGAnimationElement::removedFrom(rootParent);
}
-void SVGAnimateElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == SVGNames::attributeTypeAttr) {
- setAttributeType(value);
+void SVGAnimateElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == SVGNames::attributeTypeAttr) {
+ setAttributeType(params.newValue);
return;
}
- SVGAnimationElement::parseAttribute(name, oldValue, value);
+ SVGAnimationElement::parseAttribute(params);
}
void SVGAnimateElement::svgAttributeChanged(const QualifiedName& attrName) {
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimateElement.h ('k') | third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698