Avoid unnecessary scrollable area layer's main thread scrolling repaint.
CompositedLayerMapping::NeedsRepaint always returned true if the target graphics layer is a scrollable area layer. This can be optimized because we can get paint invalidation flag from the overflow controls. Change-Id: Ie2612794403fabd8dcb8dad7aca41a60dfbb0c69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943501Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#720456}
Showing
Please register or sign in to comment