[RLS] Use faster fast-path when updating composited root scroller offset.
Previously, we would update all of the composited layers plus reach into the LayerTreeHost (via some virtuals) to update even more things. All of these will be updated anyway if the composited layer configurations actually change, and it's pure overhead here. PaintLayerCompositor::FrameViewDidScroll does the same thing (and this is where I cribbed from in my original patch), but it's overkill. I didn't change that call site, however, since it is non-RLS specific. Bug:818709 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I3643e42bc4b68bafcfd06dfe787a18b09ee2c7da Reviewed-on: https://chromium-review.googlesource.com/1038439 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by:Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#555302}
Showing
Please register or sign in to comment