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

Unified Diff: third_party/WebKit/Source/core/html/forms/RangeInputType.cpp

Issue 2435973002: INPUT element: code cleanup around setValue(). (Closed)
Patch Set: Created 4 years, 2 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/forms/RangeInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
index 9eb7f880b258eac60f6ae0ec664d56bb1d0792b3..3e58947e03c6028f4ef0b5ac3d3b9c94b0405e61 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
@@ -282,11 +282,7 @@ void RangeInputType::stepAttributeChanged() {
element().updateView();
}
-void RangeInputType::setValue(const String& value,
- bool valueChanged,
- TextFieldEventBehavior eventBehavior) {
- InputType::setValue(value, valueChanged, eventBehavior);
-
+void RangeInputType::didSetValue(const String&, bool valueChanged) {
if (valueChanged)
element().updateView();
}

Powered by Google App Engine
This is Rietveld 408576698