[RootLayerScrolling] Delay call to FrameRectsChanged on overflow scroll.
In the non-RLS code path, when the FrameView's scroll offset changes, pending_scroll_delta_ is modified, and some of the work is delayed until the next lifecycle update. Calling FrameRectsChanged() on every overflow scroll has a significant performance impact, so this patch replicates the non-RLS behavior of FrameView by postponing the call to FrameRectsChanged. BUG=770343 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I10cf0782852dcf1c8021a7a62ce0078aae297e39 Reviewed-on: https://chromium-review.googlesource.com/951641 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#541288}
Showing
Please register or sign in to comment