Chromium Code Reviews

Unified Diff: Source/core/html/forms/InputType.h

Issue 136783006: Upgrade stepUp()/stepDown() implementation to match spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/forms/InputType.h
diff --git a/Source/core/html/forms/InputType.h b/Source/core/html/forms/InputType.h
index c58c42107314a163de6c252a54c5371b193a8820..1e83ecd5852ffc23cdc962243952f4c5021a3e1f 100644
--- a/Source/core/html/forms/InputType.h
+++ b/Source/core/html/forms/InputType.h
@@ -236,7 +236,7 @@ protected:
private:
// Helper for stepUp()/stepDown(). Adds step value * count to the current value.
- void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, ExceptionState&);
+ void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBehavior, ExceptionState&);
};
} // namespace WebCore

Powered by Google App Engine