| commit | c1cbe491acbbefe17efe7ea6b4e31bb71da35ba4 | [log] [tgz] |
|---|---|---|
| author | Thomas Lukaszewicz <tluk@chromium.org> | Mon Dec 08 01:57:06 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 08 01:57:06 2025 |
| tree | 23ea1e85c725a3beedce34ae1ae3eab8b68baa61 | |
| parent | 25de8d3987de06b155de5d27d1101fc9513319b6 [diff] |
[discard] Set single_outermost_main_frame for WebContentsDiscard This CL updates AttemptFastKillForDiscard() to set the single_outermost_main_frame param for FastShutdownIfPossible() when running the WebContentsDiscard experiment. This param allows fast-kills in the case where all frames resident in a process belong to a single WebContents, vs page_count which checks for RenderWidgetHost counts (all of which may belong to a single tab but add to a count greater than 0). This CL affects behavior only when running WebContentsDiscard (behavior is unchanged otherwise). Bug: 463735439 Change-Id: Ide557a6821f7a8c66dd6871b7281d04bd0693cbf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7205447 Commit-Queue: Tom Lukaszewicz <tluk@chromium.org> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1555253}
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.