[PE] Skip compositing requirements recursion when possible
All of these conditions must be true for the current PaintLayer: 1. The layer is not under a non-root composited scroller, or there are no fixed/sticky descendants. 2. There are no non-contained absolute position descendants (i.e. ones whose containing block skips the current layer). 3. The current layer has overflow clip. 4. There are no direct compositing reasons on any descendant. 5. There is no currently-composited descendant. Bug:814439 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I74c1ad25ec1c5c20ec3629140b6555c89676a3ac Reviewed-on: https://chromium-review.googlesource.com/1099972Reviewed-by:Tien-Ren Chen <trchen@chromium.org> Commit-Queue: Tien-Ren Chen <trchen@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#568183}
Showing
Please register or sign in to comment