commit | f21f3a001dbe28956e2105b8d737426b05ea8807 | [log] [tgz] |
---|---|---|
author | John Lee <johntlee@chromium.org> | Wed Jun 07 05:07:53 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 07 05:07:53 2023 |
tree | 210f4c327220db4a4b1e48d01021920702b4afe4 | |
parent | f6b97669b393e36ac6bf95a26a286392042cb5a0 [diff] |
Color pipeline: Fix old <link>s not getting deleted There appears to be a race condition when onColorProviderChanged is called multiple times in a row. Once the promise to load a new stylesheet finishes, the reference to the old stylesheet is no longer accurate so querySelector must be called again to ensure we grab the correct stylesheet to remove. Bug: 1450109 Change-Id: Ibc61e7b2e8183c4aeb93c684937de62e135c79a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4591971 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: John Lee <johntlee@chromium.org> Cr-Commit-Position: refs/heads/main@{#1154258}
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.