Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: chromeos/network/network_state_handler.cc

Issue 332713003: Fix FirstNetworkByType, and some minor debugging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/network_ui/network_ui.js ('k') | chromeos/network/network_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state_handler.cc
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc
index 179df287cbb7d25b6e0a4b7d83bee62e3250dde1..aa91883ab1f970acc6a663a61eb14ce3c50e329d 100644
--- a/chromeos/network/network_state_handler.cc
+++ b/chromeos/network/network_state_handler.cc
@@ -222,7 +222,7 @@ const NetworkState* NetworkStateHandler::FirstNetworkByType(
if (!network->update_received())
continue;
if (!network->visible())
- break;
+ continue;
if (network->Matches(type))
return network;
}
« no previous file with comments | « chrome/browser/resources/chromeos/network_ui/network_ui.js ('k') | chromeos/network/network_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698