| 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 8de50a5a91b531a3bdfb464306e843808a6bf67d..ac6b7c989636ddca8db2a9b4d04f66aab3288110 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| @@ -499,9 +499,7 @@ String TextFieldInputType::convertFromVisibleValue(
|
| }
|
|
|
| void TextFieldInputType::subtreeHasChanged() {
|
| - bool wasChanged = element().wasChangedSinceLastFormControlChangeEvent();
|
| element().setChangedSinceLastFormControlChangeEvent(true);
|
| -
|
| element().setValueFromRenderer(sanitizeUserInputValue(
|
| convertFromVisibleValue(element().innerEditorValue())));
|
| element().updatePlaceholderVisibility();
|
| @@ -510,11 +508,10 @@ void TextFieldInputType::subtreeHasChanged() {
|
| element().pseudoStateChanged(CSSSelector::PseudoInRange);
|
| element().pseudoStateChanged(CSSSelector::PseudoOutOfRange);
|
|
|
| - didSetValueByUserEdit(wasChanged ? ValueChangeStateChanged
|
| - : ValueChangeStateNone);
|
| + didSetValueByUserEdit();
|
| }
|
|
|
| -void TextFieldInputType::didSetValueByUserEdit(ValueChangeState state) {
|
| +void TextFieldInputType::didSetValueByUserEdit() {
|
| if (!element().isFocused())
|
| return;
|
| if (ChromeClient* chromeClient = this->chromeClient())
|
|
|