commit | 7f27f699d519719e3194af0a91da1a3e6a0cd304 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Tue May 07 15:11:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 07 15:11:10 2019 |
tree | ad0f6e8efb02f68f003d65511b14ea238d640bc9 | |
parent | 1a86aea23f32414e3118780e0604cea94974ffe9 [diff] |
DL: Optimize PositionAndLayoutOnceIfNeeded() for display locking. In display locking, we don't process subtrees of locked elements. In PositionAndLayoutOnceIfNeeded, we can use this information to skip recursing into layout code, which would abort child layout anyway. This takes the referenced bug case from 250ms per unlock to 110ms per unlock. R=mstensho@chromium.org, ikilpatrick@chromium.org Bug: 958804 Change-Id: Ied76301cb006894f3160f8243c58f9a753ed8fd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596837 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#657251}
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 .