commit | 852d52617be7411585426a1d8dd870f36590e917 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Sun Jun 06 07:41:35 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Jun 06 07:41:35 2021 |
tree | f09f010e4df671a42d57db1f7d9cec70b9e65d8a | |
parent | c210d057b787a7a8324985b165322dffbfeb9f69 [diff] |
Add DCHECK for unexpected needs of |PostLayout| This patch adds |DCHECK| when |PostLayout| detects that the fragment tree is inconsistent, and needs to replace with the latest post-layout generation. Some uses of |PostLayout| are to fix the inconsistencies when rebuildling descendants and valid. This patch adds |AllowPostLayoutScope| to declare the replacement is valid. Discussion doc: https://docs.google.com/document/d/1HkMwnfr-JbP2SE0ktYalkeAutwciuy-GftLs3TOnBcI/edit?usp=sharing Bug: 965639, 1214198 Change-Id: Icb1c712b431dc79ff96eac4bf253e595e2c49d78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2915267 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Javier Fernandez <jfernandez@igalia.com> Cr-Commit-Position: refs/heads/master@{#889602}
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.