| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index 87da464c3e58dd84af4fe4492893e167581a7fb0..763c529f06d7cb5971bfb845f0127213ac165606 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -1332,8 +1332,9 @@ void FrameSelection::setSelectionFromNone() {
|
| // needs to be audited. See http://crbug.com/590369 for more details.
|
| document->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| - setSelection(createVisibleSelection(firstPositionInOrBeforeNode(body),
|
| - TextAffinity::Downstream));
|
| + setSelection(SelectionInDOMTree::Builder()
|
| + .collapse(firstPositionInOrBeforeNode(body))
|
| + .build());
|
| }
|
| }
|
|
|
|
|