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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.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/SVGAnimateTransformElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
index 51032713c354a0fc6e7e355e7d01a5c4a02c6c5f..3b80a9729e507a7d690ede117f420776be38e339 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
@@ -65,17 +65,16 @@ SVGPropertyBase* SVGAnimateTransformElement::createPropertyForAnimation(
return SVGTransformList::create(m_transformType, value);
}
-void SVGAnimateTransformElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == SVGNames::typeAttr) {
- m_transformType = parseTransformType(value);
+void SVGAnimateTransformElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == SVGNames::typeAttr) {
+ m_transformType = parseTransformType(params.newValue);
if (m_transformType == kSvgTransformMatrix)
m_transformType = kSvgTransformUnknown;
return;
}
- SVGAnimateElement::parseAttribute(name, oldValue, value);
+ SVGAnimateElement::parseAttribute(params);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698