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

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

Issue 2462983002: INPUT element: code cleanup (Closed)
Patch Set: Created 4 years, 1 month 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 e1279681c775a4663ef76de23714222eb4d5b087..cb452f1df8cdaf76467516ef23c4aa13cce32ce9 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
@@ -295,10 +295,6 @@ void RangeInputType::updateView() {
sliderThumbElement()->setPositionFromValue();
}
-String RangeInputType::fallbackValue() const {
- return serializeForNumberType(createStepRange(RejectAny).defaultValue());
-}
-
String RangeInputType::sanitizeValue(const String& proposedValue) const {
StepRange stepRange(createStepRange(RejectAny));
const Decimal proposedNumericValue =
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/RangeInputType.h ('k') | third_party/WebKit/Source/core/html/forms/ResetInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698