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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.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/html/HTMLOutputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp b/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
index 46889113ce4fe1bc423ab3e6a4113d9552b6911d..3a0fa4ad0614ebf387b135ce0c1e61fa8eb89017 100644
--- a/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOutputElement.cpp
@@ -64,13 +64,12 @@ bool HTMLOutputElement::supportsFocus() const {
return HTMLElement::supportsFocus();
}
-void HTMLOutputElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == HTMLNames::forAttr)
- setFor(value);
+void HTMLOutputElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == HTMLNames::forAttr)
+ setFor(params.newValue);
else
- HTMLFormControlElement::parseAttribute(name, oldValue, value);
+ HTMLFormControlElement::parseAttribute(params);
}
DOMTokenList* HTMLOutputElement::htmlFor() const {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOutputElement.h ('k') | third_party/WebKit/Source/core/html/HTMLProgressElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698