Force lifecycle to pre-paint if IntersectionObserver is required
This is a speculative bug fix, based on the hypothesis that allowing lifecycle updates for throttled frames that require IntersectionObserver to proceed through compositing assignments may be the problem. During compositing assignments phase GraphicsLayerUpdater may call ScrollingCoordinator::UpdateCompositorScrollOffset, which may somehow interfere with the ongoing scroll fling. It does not appear to be necessary for lifecycle updates to proceed through compositing assignments in this case. The justification for going through compositing assignment was that up-to-date sticky positioning may be required; but it appears that compositing inputs update (pre-CAP) or pre-paint (CAP) is sufficient for that. Bug: 1158664 Change-Id: I456421fc0886abe254462d5099e446d87290c960 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2599002Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#838931}
Showing
Please register or sign in to comment