Replace |PositionForPoint| with |GetPosition|
This patch replaces two usages of |LayoutObject::PositionForPoint| with |HitTestResult::GetPosition| because the former does not support NG block fragmentation. There are some minor differences in the behavior. But according to yosin@, using |InnerPossiblyPseudoNode| instead of |InnerNode| is most likely more correct. Bug: 829028 Change-Id: I6fda4161f60e2cafb78c12370484bf464331a5f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535530 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#827152}
Showing
Please register or sign in to comment