| Index: Source/core/html/TextFieldInputType.cpp
|
| diff --git a/Source/core/html/TextFieldInputType.cpp b/Source/core/html/TextFieldInputType.cpp
|
| index 329e933940e9a1c7d4b34626832127ce68097653..d515304ca7f322595b99b4b09025d7f818c55925 100644
|
| --- a/Source/core/html/TextFieldInputType.cpp
|
| +++ b/Source/core/html/TextFieldInputType.cpp
|
| @@ -145,8 +145,7 @@ void TextFieldInputType::setValue(const String& sanitizedValue, bool valueChange
|
| break;
|
| }
|
|
|
| - // FIXME: Why do we do this when eventBehavior == DispatchNoEvent
|
| - if (!input->focused() || eventBehavior == DispatchNoEvent)
|
| + if (!input->focused())
|
| input->setTextAsOfLastFormControlChangeEvent(sanitizedValue);
|
| }
|
|
|
|
|