[LayoutNG] Refactor the usage of GetCharacterRange in NGCaretRect
This patch refactors inefficient usage of GetCharacterRange as discussed in CL:979732. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I1d1b135eaf8d7a12f0fd918316428d5bf30cbcc0 Reviewed-on: https://chromium-review.googlesource.com/981848Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#547079}
Showing
Please register or sign in to comment