[LayoutNG] Simplify NG text node handling in TextIteratorTextNodeHandler
This is a followup of crrev.com/c/1436464. With the previous patch, callers of NGOffsetMapping::GetMappingUnitsForDOMRange() no longer need to clamp out-of-range portions of the units by themselves. As a followup, this patch removes the code handling partially out of range units. Change-Id: I5a7452d995365939509ba7a763de20ee2acf47a4 Reviewed-on: https://chromium-review.googlesource.com/c/1437193Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#626438}
Showing
Please register or sign in to comment