DescriptionMake SelectionController to call TextDistance() with proper range
This patch changes |SelectionController::HandleSingleClick()| to call
|TextDistance()|, which constructs |TextIterator| via |RangeLength()|
with proper range, start <= end, as preparation of making |TextIterator|
constructor to take only proper range[1].
[1] http://crrev.com/2912053002: Call TextIterator constructor with proper range
BUG=727537
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2912923002
Cr-Commit-Position: refs/heads/master@{#475717}
Committed: https://chromium.googlesource.com/chromium/src/+/0711a0a702c23b484eadb514070f20f58b97bb35
Patch Set 1 : 2017-05-30T18:30:35 #
Messages
Total messages: 15 (11 generated)
|