[Blink] Avoid O(d) lookup during scroll parent computation
This CL changes CompositingInputsUpdater to keep track of scrolling container for different type of positioned descendants, so we won't need to walk up ancestor chain to look for them. This is similar to the technique used by PrePaintTreeWalk. No behavior change is expected. BUG=818768 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I2409dd91e5b2903e348bdebca7f6ac2f1544ea94 Reviewed-on: https://chromium-review.googlesource.com/952540 Commit-Queue: Tien-Ren Chen <trchen@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#542041}
Showing
Please register or sign in to comment