| Index: Source/core/html/forms/NumberInputType.cpp
|
| diff --git a/Source/core/html/forms/NumberInputType.cpp b/Source/core/html/forms/NumberInputType.cpp
|
| index d728ca1652a65181947535c2a711e9b03360f88f..52411e1f3f09c9f20c8590005af9050d6c68a462 100644
|
| --- a/Source/core/html/forms/NumberInputType.cpp
|
| +++ b/Source/core/html/forms/NumberInputType.cpp
|
| @@ -108,11 +108,11 @@ const AtomicString& NumberInputType::formControlType() const
|
| return InputTypeNames::number;
|
| }
|
|
|
| -void NumberInputType::setValue(const String& sanitizedValue, bool valueChanged, TextFieldEventBehavior eventBehavior)
|
| +void NumberInputType::setValue(const String& sanitizedValue, bool valueChanged, bool isReset, TextFieldEventBehavior eventBehavior)
|
| {
|
| if (!valueChanged && sanitizedValue.isEmpty() && !element().innerEditorValue().isEmpty())
|
| element().updateView();
|
| - TextFieldInputType::setValue(sanitizedValue, valueChanged, eventBehavior);
|
| + TextFieldInputType::setValue(sanitizedValue, valueChanged, isReset, eventBehavior);
|
| }
|
|
|
| double NumberInputType::valueAsDouble() const
|
|
|