| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index de86ef8dc7b8df709d7782449d8c0b03622c2b3c..a710e85d749f8a9063143a5654302b20a0d59566 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -421,7 +421,7 @@ void WebFrameWidgetImpl::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
|
|
|