| Index: Source/core/html/InputType.cpp
|
| diff --git a/Source/core/html/InputType.cpp b/Source/core/html/InputType.cpp
|
| index ae22f5f5dcd890cfe47972852a84a4c4b91bd3d8..c70bf2ee9ea47fa1e8c4961eeb7771c55d549c5f 100644
|
| --- a/Source/core/html/InputType.cpp
|
| +++ b/Source/core/html/InputType.cpp
|
| @@ -1071,10 +1071,10 @@ void InputType::stepUpFromRenderer(int n)
|
| current = stepRange.minimum() - nextDiff;
|
| if (current > stepRange.maximum() - nextDiff)
|
| current = stepRange.maximum() - nextDiff;
|
| - setValueAsDecimal(current, DispatchNoEvent, IGNORE_EXCEPTION_STATE);
|
| + setValueAsDecimal(current, DispatchNoEvent, IGNORE_EXCEPTION);
|
| }
|
| if ((sign > 0 && current < stepRange.minimum()) || (sign < 0 && current > stepRange.maximum()))
|
| - setValueAsDecimal(sign > 0 ? stepRange.minimum() : stepRange.maximum(), DispatchInputAndChangeEvent, IGNORE_EXCEPTION_STATE);
|
| + setValueAsDecimal(sign > 0 ? stepRange.minimum() : stepRange.maximum(), DispatchInputAndChangeEvent, IGNORE_EXCEPTION);
|
| else {
|
| if (stepMismatch(element()->value())) {
|
| ASSERT(!step.isZero());
|
| @@ -1092,13 +1092,13 @@ void InputType::stepUpFromRenderer(int n)
|
| if (newValue > stepRange.maximum())
|
| newValue = stepRange.maximum();
|
|
|
| - setValueAsDecimal(newValue, n == 1 || n == -1 ? DispatchInputAndChangeEvent : DispatchNoEvent, IGNORE_EXCEPTION_STATE);
|
| + setValueAsDecimal(newValue, n == 1 || n == -1 ? DispatchInputAndChangeEvent : DispatchNoEvent, IGNORE_EXCEPTION);
|
| if (n > 1)
|
| - applyStep(n - 1, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION_STATE);
|
| + applyStep(n - 1, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION);
|
| else if (n < -1)
|
| - applyStep(n + 1, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION_STATE);
|
| + applyStep(n + 1, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION);
|
| } else {
|
| - applyStep(n, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION_STATE);
|
| + applyStep(n, AnyIsDefaultStep, DispatchInputAndChangeEvent, IGNORE_EXCEPTION);
|
| }
|
| }
|
| }
|
|
|