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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewElement.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/SVGViewElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
index 4cbf0fe45738e01ecbc20485fc13efbc06072284..6e7adb78f92c9653c3ce597c556a273f7bc87600 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
@@ -37,13 +37,11 @@ DEFINE_TRACE(SVGViewElement) {
SVGFitToViewBox::trace(visitor);
}
-void SVGViewElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (SVGZoomAndPan::parseAttribute(name, value))
+void SVGViewElement::parseAttribute(const AttributeModificationParams& params) {
+ if (SVGZoomAndPan::parseAttribute(params.name, params.newValue))
return;
- SVGElement::parseAttribute(name, oldValue, value);
+ SVGElement::parseAttribute(params);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGViewElement.h ('k') | third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698