commit | 6dde701f36df60c529e927fcbb400df20e0b6015 | [log] [tgz] |
---|---|---|
author | lin <penglin22@huawei.com> | Thu Sep 29 03:20:14 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 29 03:20:14 2022 |
tree | 285e39ee537a845690384e65b9360fa1eddfef7f | |
parent | bc954ce22d51063a000208e1e0c101862ecf0396 [diff] |
Fix crash caused by infinite recursion The contrast ratio will keep the same if one of the color is rgb(0, 0, 0) which will cause infinite recursion in DarkModeFilter::AdjustDarkenColor. Bug: 1365680 Change-Id: Id6617188045e94daa10c78a5bc6c46bea6c7cc20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3920696 Commit-Queue: lin peng <penglin22@huawei.com> Commit-Queue: Philip Rogers <pdr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052793}
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.