commit | cb2cc64cdae29640e53d548d2cd43cf7ce80aa9a | [log] [tgz] |
---|---|---|
author | Keren Zhu <kerenzhu@chromium.org> | Tue Feb 25 18:31:08 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 25 18:31:08 2025 |
tree | 2eee0f547455ce03d6ed61191a027691e40db15a | |
parent | a251ef1b76cdaecaed6d78e7213e2bf7e99a7c76 [diff] |
views: Rename AddChildView(T*) to AddChildViewRaw(T*) for clarity This CL renames View::AddChildView(T*) to View::AddChildViewRaw(T*). This makes the raw pointer version more distinct from AddChildView(std::unique_ptr<T>), enabling future presubmit checks to discourage raw pointer usage. Existing non-CrOS and non-internal uses are migrated to the new function. Bug: 40485510 Change-Id: I7cbc82789a8ee12be7fac5bbfe8a097663d2dcdb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6293171 Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1424646}
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.