| Index: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| index db8b288d970ae1108321a111586f3792a814b87a..fe8984381bab9ca33b2bc20d3f5bacc35a65694b 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| @@ -183,8 +183,7 @@ void TextFieldInputType::setValue(const String& sanitizedValue,
|
| }
|
|
|
| if (!element().isFocused())
|
| - element().setTextAsOfLastFormControlChangeEvent(
|
| - sanitizedValue.isNull() ? element().defaultValue() : sanitizedValue);
|
| + element().setTextAsOfLastFormControlChangeEvent(element().value());
|
| }
|
|
|
| void TextFieldInputType::handleKeydownEvent(KeyboardEvent* event) {
|
|
|