commit | 08f2a95648fd28e3fdc34817a777a2c2666ebefd | [log] [tgz] |
---|---|---|
author | David Grogan <dgrogan@chromium.org> | Tue Jun 10 02:05:11 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 10 02:05:11 2025 |
tree | 9a4b3cdf56369759287d37f815a97cd5bfd219e6 | |
parent | fdb71153b4d49abd2428665fad579d4af08a7c34 [diff] |
[stretch] Fix false-positive cache hit We have complicated cache logic that tries to determine the circumstances under which we can hit the cache when the old layout and new layout have different heights. That logic was failing when a descendant has a stretched height. This patch just disables that logic -- if a node has changed heights, we just force a relayout. The longer term plan is for descendants to tell parents if they depended on the parent's height. If no, and a parent's height changes, we can reuse the cached result. Fixed: 386052671 Change-Id: Ifc6b1809fadc3db19c17de6dc595ce489db81f95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6629745 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Auto-Submit: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1471546}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.