| Index: Source/core/html/HTMLInputElement.cpp
 | 
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
 | 
| index 7c90e1caaaca2340f94aab8b3d8cc597dc59f292..c8a303e6cb47fff042d5490533303a9d81155b92 100644
 | 
| --- a/Source/core/html/HTMLInputElement.cpp
 | 
| +++ b/Source/core/html/HTMLInputElement.cpp
 | 
| @@ -1028,8 +1028,12 @@ void HTMLInputElement::setValue(const String& value, TextFieldEventBehavior even
 | 
|      setLastChangeWasNotUserEdit();
 | 
|      setFormControlValueMatchesRenderer(false);
 | 
|      m_suggestedValue = String(); // Prevent TextFieldInputType::setValue from using the suggested value.
 | 
| +
 | 
|      m_inputType->setValue(sanitizedValue, valueChanged, eventBehavior);
 | 
|  
 | 
| +    if (valueChanged && eventBehavior == DispatchNoEvent)
 | 
| +        setTextAsOfLastFormControlChangeEvent(sanitizedValue);
 | 
| +
 | 
|      if (!valueChanged)
 | 
|          return;
 | 
|  
 | 
| 
 |