[LayoutNG] Fix offset accumulation for hit test fallback
Current LayoutNG hit test code computes wrong |accumulated_offset| when falling back to legacy. It tries to maintain an additional offset for legacy, but fails to do so. This patch computes the fallback offset directly from NG offset, which fixes legacy fallback, and also removes the legacy offset maintenance code. Bug: 811502 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_layout_ng;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I06b2df66dc2a36efaf32077ea26a3abb4a26eb49 Reviewed-on: https://chromium-review.googlesource.com/1089800Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#565070}
Showing
Please register or sign in to comment