commit | 7d3ac6b5e40f2829d8d59e931c785c7d10475229 | [log] [tgz] |
---|---|---|
author | Maksim Ivanov <emaxx@chromium.org> | Fri Jun 05 20:09:10 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 05 20:09:10 2020 |
tree | 7c7747d853fe4946fa2d00525f7610d54f1b153d | |
parent | 761e443f80227f08cc03fcffdbfcc9d4efacea98 [diff] |
DCHECK on self-assignment of PolicyBundle Add debug assertions against misuses of PolicyBundle in self-assignment or self-modifying constructions. This CL doesn't bring proper support of such scenarios, but should at least make it more obvious that they're not supported (by documenting it and by catching during automated tests). Bug: none Change-Id: Ie92cf76b4b95b4bf253651eb1544cc884116a511 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2232859 Reviewed-by: Aya Elsayed <ayaelattar@google.com> Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#775725}
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 .
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.