commit | 0c1ff5206e3dbae5910e12118466ef47c95af0df | [log] [tgz] |
---|---|---|
author | Ian Kilpatrick <ikilpatrick@chromium.org> | Fri Jan 18 16:15:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 18 16:15:56 2019 |
tree | 6329e71fa0210a71ab15d0dbf6aa3fa4484d4922 | |
parent | 427999cfc3d0da1500edf93898f497ad0e8a91bb [diff] |
[LayoutNG] Use ForceChildLayout() instead of ForceLayout() ForceLayout was causing additional paint invalidations due to: SetShouldDoFullPaintInvalidation(); ...inside it. Instead this now uses LayoutIfNeeded if the item needs layout (probably from a style change/node removal/etc), and ForceChildLayout() which doesn't perform this invalidation. Fixes a bunch of paint invalidation tests. Bug: 635619 Change-Id: I70301097ffd2fa2512f13ad8e090fa5d61a3a300 Reviewed-on: https://chromium-review.googlesource.com/c/1419342 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#624149}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .