| commit | 3a88b86157c9d84b39706fd237dcfcce68e2d35c | [log] [tgz] |
|---|---|---|
| author | Michael Wojcicka <mwoj@google.com> | Fri Feb 21 19:19:38 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 21 19:19:38 2025 |
| tree | 559ba072cc3e69aa8f81b884b54f1169650788a9 | |
| parent | b6cebbe23f49f65f7fb0580e9f79ee2bc6d613a4 [diff] |
Task Manager Refresh - Preemptively check TaskId in ShouldKeepTask() - There are edge cases where OnTaskAdded and OnTaskToBeRemoved does not act like a stack (push/pop). - This breaks assumptions, leading to a CHECK being hit since ShouldKeepTask() tries to access a task that has already been removed by TaskManagerImpl. - To fix this, validate that the root task id is still being tracked by TaskManagerImpl. Bug: https://crbug.com/396002122 Change-Id: I8dbc6d128664140c0e2cc5f704a87c92250e4c5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6288148 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Michael Wojcicka <mwoj@google.com> Cr-Commit-Position: refs/heads/main@{#1423287}
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.