Use LayoutSelection::SelectionStart()/End() instead of SelectionStartEnd in InlineTextBox.
Since integers returned by SelectionStartEnd() don't relate each other except start LayoutObject == end LayoutObject. To emphasize that for readability, we should split SelectionStartEnd to each SelectionStart and SelectionEnd. Bug: 739062 Change-Id: Iacb552ea21ea36fc1769d295eaaadec59b8b20b4 Reviewed-on: https://chromium-review.googlesource.com/577986Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#488585}
Showing
Please register or sign in to comment