DescriptionMake rootEditableElementOrTreeScopeRootNodeOf() to take Position instead of VisibleSelection
This patch makes |rootEditableElementOrTreeScopeRootNodeOf() | to take
|Position| instead of |VisibleSelection| as preparation of reduce usage of
|VisibleSelection| for improving code health.
This patch also replaces deprecated version of |computeVisibleSelection()|
in |InputMethodController::getSelectionOffsets()| since it is called in
after |computeVisibleSelectionDeprecated()|.
BUG=657237
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2742703002
Cr-Commit-Position: refs/heads/master@{#455711}
Committed: https://chromium.googlesource.com/chromium/src/+/b4fed54d2920ee4662f7e77049ff500f24fad905
Patch Set 1 : 2017-03-09T14:58:18 #
Total comments: 1
Messages
Total messages: 15 (11 generated)
|