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 7c8eac1d3564702b2b4bef01743bfb69be6340cd..5b46a96cc3e4b46234b9885ed4e2c95a28259f69 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
@@ -775,7 +775,7 @@ PlainTextRange InputMethodController::getSelectionOffsets() const { |
if (range.isNull()) |
return PlainTextRange(); |
ContainerNode* const editable = rootEditableElementOrTreeScopeRootNodeOf( |
- frame().selection().computeVisibleSelectionInDOMTreeDeprecated()); |
+ frame().selection().computeVisibleSelectionInDOMTree().base()); |
yosin_UTC9
2017/03/09 07:00:13
L774 calls computeVisibleSelectionInDOMTreeDepreca
|
DCHECK(editable); |
return PlainTextRange::create(*editable, range); |
} |