| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 7e83339f3c391ccfdd44bef3f01dd79226e8b723..bc80f45bd1cbca16345dd0cf23964df93e0d58bc 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2193,7 +2193,7 @@ void WebViewImpl::setFocus(bool enable)
|
| // focused, then the focus element shows with a focus ring but
|
| // no caret and does respond to keyboard inputs.
|
| if (element->isTextFormControl()) {
|
| - element->updateFocusAppearance(true);
|
| + element->updateFocusAppearance(SelectionBehaviorOnFocus::Restore);
|
| } else if (element->isContentEditable()) {
|
| // updateFocusAppearance() selects all the text of
|
| // contentseditable DIVs. So we set the selection explicitly
|
|
|