[LayoutShiftTracker] Fix contain:paint
We should check ShouldClipOverflow() instead of IsScrollContainer() (which was renamed from HasOverflowClip() recently -- this CL shows how the new name improved code readability) for inclusion of layout overflow for layout shift tracking. Bug: 1127474 Change-Id: Id85b292b65dae837d1e366d548939b85c9cd5d5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2417061Reviewed-by:Nicolás Peña Moreno <npm@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#808087}
Showing
Please register or sign in to comment