Index: ash/system/chromeos/network/tray_network.cc |
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc |
index 54a40eb4ac25a5c50894f6c2719e6a93d5baf4fc..b6b1b716dd37bf9b7b6a0fdafa6f1cfeb4c086ff 100644 |
--- a/ash/system/chromeos/network/tray_network.cc |
+++ b/ash/system/chromeos/network/tray_network.cc |
@@ -550,7 +550,7 @@ void TrayNetwork::ConnectToNetwork(const std::string& service_path) { |
if (!network) |
return; |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
- chromeos::switches::kEnableNewNetworkConfigurationHandlers) && |
+ chromeos::switches::kUseNewNetworkConfigurationHandlers) && |
!network->IsConnectedState()) { |
chromeos::NetworkConfigurationHandler::Get()->Connect( |
service_path, |