| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index ac351aca0cb37c86321900bf054c88568fafe9b5..490990d60a2de76adea9ec07537eb00293d2f21e 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1371,7 +1371,8 @@ void Editor::changeSelectionAfterCommand(
|
| // Ranges for selections that are no longer valid
|
| bool selectionDidNotChangeDOMPosition =
|
| newSelection == frame().selection().selection();
|
| - frame().selection().setSelection(newSelection, options);
|
| + frame().selection().setSelection(newSelection, HandleVisibility::NotVisible,
|
| + options);
|
|
|
| // Some editing operations change the selection visually without affecting its
|
| // position within the DOM. For example when you press return in the following
|
|
|