Unify start and end calculation in PlainTextRange::CreateRangeFor()
This patch unifies the duplicate code in the function for better code health. Bug: 828719 Change-Id: I5c75a6345b345633bebd37c556b780cfaad24d1d Reviewed-on: https://chromium-review.googlesource.com/996569Reviewed-by:Ryan Landay <rlanday@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#548648}
Showing
Please register or sign in to comment