| 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 adfc9fb85a3e8be9bdbd4f139f17e07aaf1521d8..a54fa13ffba0ec46eba76523cf780028a2f858db 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -447,7 +447,7 @@ void WebFrameWidgetImpl::setFocus(bool enable) {
|
| // caret back to the beginning of the text.
|
| Position position(element, 0);
|
| focusedFrame->selection().setSelection(
|
| - createVisibleSelection(position, SelDefaultAffinity));
|
| + SelectionInDOMTree::Builder().collapse(position).build());
|
| }
|
| }
|
| }
|
|
|