commit | 0ec2bc23bc25a8d44e7c4f1a28b7e05156ca04fb | [log] [tgz] |
---|---|---|
author | Jason Zhang <jiajunz@google.com> | Thu Apr 21 19:36:51 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 21 19:36:51 2022 |
tree | 9b155902acf990159554ac884c8c97d922b0aa06 | |
parent | c81b1201689e386f1f50e6b8a86d01bee2ba8e0f [diff] |
[CrOS Cellular] Avoid Matches call to uninitialized networks Briefly: When a NetworkState entry is added to a list, no initial properties have been received, so these entries are *mostly* ignored. In NetworkTypePattern::Matches(), we have a DCHECK to help ensure that uninitialized states are not used. That means that when we are iterating through a list of networks, we need to avoid calling Matches on ManagedState.type_. Fixed: b/229989990 Change-Id: Ie6d6302119d46f1ab340b91a9a3584ac54ad75b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3597650 Reviewed-by: Azeem Arshad <azeemarshad@chromium.org> Commit-Queue: Jason Zhang <jiajunz@google.com> Cr-Commit-Position: refs/heads/main@{#994848}
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.