| Index: third_party/WebKit/Source/core/html/forms/StepRange.h
|
| diff --git a/third_party/WebKit/Source/core/html/forms/StepRange.h b/third_party/WebKit/Source/core/html/forms/StepRange.h
|
| index 0111651a90e969f464e05afb6a5766bf5eb95088..2a43cdf0e4f709018a76fbd1a34a55fe2cda58bb 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/StepRange.h
|
| +++ b/third_party/WebKit/Source/core/html/forms/StepRange.h
|
| @@ -84,6 +84,9 @@ public:
|
| Decimal step() const { return m_step; }
|
| Decimal stepBase() const { return m_stepBase; }
|
| bool stepMismatch(const Decimal&) const;
|
| + // Returns the maximum step-matched value between minimum() and
|
| + // maximum(). If there's no such value, this returns Decimal::nan().
|
| + Decimal stepSnappedMaximum() const;
|
|
|
| // Clamp the middle value according to the step
|
| Decimal defaultValue() const
|
|
|