| 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 1947134c2bfea1b398d1af2cc6212485a255475a..bbbb907576d4ad84d9624885a163753019e7bcd4 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -464,7 +464,7 @@ void WebFrameWidgetImpl::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));
|
| }
|
| }
|
| }
|
|
|