Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
index c3fc7faf302132376bf0f9468675381a54a3870e..6406719f00eb7ef80c73171cebdd74d2f7af62b8 100644 |
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
@@ -743,8 +743,8 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, |
virtual void ConnectToNetwork(const std::string& network_id) OVERRIDE { |
NetworkLibrary* crosnet = CrosLibrary::Get()->GetNetworkLibrary(); |
Network* network = crosnet->FindNetworkByPath(network_id); |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- ash::switches::kAshEnableNewNetworkStatusArea) && |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ ash::switches::kAshDisableNewNetworkStatusArea) && |
CommandLine::ForCurrentProcess()->HasSwitch( |
chromeos::switches::kEnableNewNetworkConfigurationHandlers)) { |
// If the new network handlers are enabled, this should always trigger |