DescriptionSimplify directional selection check in FrameSelection::moveCaretSelection()
This patch replaces
FrameSeleciton::computeVisibleSelectionInDOMTree().isDirectional()
to
FrameSeleciton::selectionInDOMTree().isDirectional()
since visible position normalization does not affect selection directional,
to simplify source code for improving code health.
BUG=698633
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2740893003
Cr-Commit-Position: refs/heads/master@{#456020}
Committed: https://chromium.googlesource.com/chromium/src/+/33aee2483346831a1881aeedc837cb5bc6cbe97c
Patch Set 1 : 2017-03-10T10:07:02 #
Messages
Total messages: 15 (9 generated)
|