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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMeterElement.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/HTMLMeterElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp b/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
index f33be375c4f1b9bf88f606ddf1b032b617558e63..d9a33ae3a34431be6765baaffdab588d44759a63 100644
--- a/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
@@ -63,14 +63,14 @@ LayoutObject* HTMLMeterElement::createLayoutObject(const ComputedStyle& style) {
return LabelableElement::createLayoutObject(style);
}
-void HTMLMeterElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
+void HTMLMeterElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ const QualifiedName& name = params.name;
if (name == valueAttr || name == minAttr || name == maxAttr ||
name == lowAttr || name == highAttr || name == optimumAttr)
didElementStateChange();
else
- LabelableElement::parseAttribute(name, oldValue, value);
+ LabelableElement::parseAttribute(params);
}
double HTMLMeterElement::value() const {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMeterElement.h ('k') | third_party/WebKit/Source/core/html/HTMLOListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698