| Index: third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| index cb993f2721b79ec2066926ee84780d34ba4bb27a..f080323ea09c11a51951f07b77a54c2fe71dba2a 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| @@ -692,14 +692,10 @@ void SelectionController::setNonDirectionalSelectionIfNeeded(
|
| selection().isHandleVisible() == isHandleVisible)
|
| return;
|
|
|
| - const FrameSelection::SetSelectionOptions options =
|
| - isHandleVisible
|
| - ? FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle |
|
| - FrameSelection::HandleVisible
|
| - : FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle;
|
| -
|
| - selection().setSelection(newSelection, options, CursorAlignOnScroll::IfNeeded,
|
| - granularity);
|
| + selection().setSelection(
|
| + newSelection, isHandleVisible,
|
| + FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle,
|
| + CursorAlignOnScroll::IfNeeded, granularity);
|
| }
|
|
|
| void SelectionController::setCaretAtHitTestResult(
|
|
|