| Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| index a599bc244cc220be9c5bee68ad776c046aa22b0d..1785291fa15cd4625a021d3547de6ecc27cbe756 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -803,9 +803,9 @@ bool InputMethodController::SetSelectionOffsets(
|
| if (range.IsNull())
|
| return false;
|
|
|
| - return GetFrame().Selection().SetSelectedRange(
|
| - range, VP_DEFAULT_AFFINITY, SelectionDirectionalMode::kNonDirectional,
|
| - options);
|
| + GetFrame().Selection().SetSelection(
|
| + SelectionInDOMTree::Builder().SetBaseAndExtent(range).Build(), options);
|
| + return true;
|
| }
|
|
|
| bool InputMethodController::SetEditableSelectionOffsets(
|
|
|