Eliminate HitTestResult::is_rect_based_test_
This flag should be a copy of the same flag in an associated HitTestLocation. In all cases where it is used we have said HitTestLocation and can use the flag from there instead. The most complicated case - HitTestResult::ResolveRectBasedTest - will return a HitTestLocation with the flag cleared, which should mean that the state invariant is maintained. EventHandlingUtil::HitTestResultInFrame as changed to take a HitTestLocation to be able to maintain this invariant a little easier. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I8b8d17a4fabca725ec089f18550523a19b677c75 Reviewed-on: https://chromium-review.googlesource.com/1127939 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#573441}
Showing
Please register or sign in to comment