| 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 f3691ab0d9df068f3dad7bc7368733ce2a5d264c..c1fc13467176f3a7fa14bacdb4f0f574af0acb28 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2271,7 +2271,7 @@ void WebViewImpl::setFocus(bool enable)
|
| // instead. Note that this has the side effect of moving the
|
| // caret back to the beginning of the text.
|
| Position position(element, 0);
|
| - focusedFrame->selection().setSelection(VisibleSelection(position, SelDefaultAffinity));
|
| + focusedFrame->selection().setSelection(createVisibleSelectionDeprecated(position, SelDefaultAffinity));
|
| }
|
| }
|
| }
|
|
|