| commit | 21a84f4cf07a26fb2040e522813d974bd477748c | [log] [tgz] |
|---|---|---|
| author | Emily Andrews <emiled@microsoft.com> | Thu Dec 12 20:33:48 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 12 20:33:48 2024 |
| tree | cc67658f64d69e2ac421842fc17a4ab2f377eef3 | |
| parent | c08707db4c9ec557c52e803ac47fbf4a584b0a67 [diff] |
Update SpareRenderProcessHostManager::GetSpareIds to use ChildProcessId Using int32_t for the child process id can be fraught with peril. Developers can mistake this for the PID. Bugs can be created by passing in an invalid value by mistake. Using a strongly typed ChildProcessId instead will allow the compiler to catch errors. This change updates SpareRenderProcessHostManager::GetSpareIds and it's users to use ChildProcessId. Bug: 379869738 Change-Id: Ie91e798b5c7d5a0eb064695f352097054e9a50e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6042587 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Owners-Override: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Emily Andrews <emiled@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1395572}
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.