| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index 7e77c07556be4a4f9c77343e8c8f2d71818d8586..d34e4b2b72cf6d832910b1a635f1c69c1fbf520d 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -991,11 +991,7 @@ void HTMLInputElement::setEditingValue(const String& value)
|
| subtreeHasChanged();
|
|
|
| unsigned max = value.length();
|
| - if (focused())
|
| - setSelectionRange(max, max, SelectionHasNoDirection, NotDispatchSelectEvent);
|
| - else
|
| - cacheSelectionInResponseToSetValue(max);
|
| -
|
| + setSelectionRange(max, max, SelectionHasNoDirection, NotDispatchSelectEvent);
|
| dispatchInputEvent();
|
| }
|
|
|
|
|