Index: chrome/browser/chromeos/mobile/mobile_activator.cc |
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.cc b/chrome/browser/chromeos/mobile/mobile_activator.cc |
index 2c42584047962d0ec4f8a2de8c2026fafcf8a7d9..3e1a82e874fb9557057d176c6d80a145ef953b05 100644 |
--- a/chrome/browser/chromeos/mobile/mobile_activator.cc |
+++ b/chrome/browser/chromeos/mobile/mobile_activator.cc |
@@ -8,6 +8,7 @@ |
#include <map> |
#include <string> |
+#include "ash/system/chromeos/network/network_connect.h" |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/file_util.h" |
@@ -515,7 +516,8 @@ void MobileActivator::ContinueConnecting() { |
LOG(WARNING) << "Connect failed, will try again in a little bit."; |
if (network) { |
LOG(INFO) << "Connecting to: " << network->service_path(); |
- GetNetworkLibrary()->ConnectToCellularNetwork(network); |
+ ash::network_connect::ConnectToNetwork( |
+ network->service_path(), NULL /* no parent window */); |
} |
} |
} |