summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/network_list.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/network_list.cc')
-rw-r--r--chrome/browser/chromeos/network_list.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/network_list.cc b/chrome/browser/chromeos/network_list.cc
index cbef281..cd08d23 100644
--- a/chrome/browser/chromeos/network_list.cc
+++ b/chrome/browser/chromeos/network_list.cc
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
+#include "chrome/browser/chromeos/cros/cros_library.h"
#include "grit/generated_resources.h"
namespace chromeos {
@@ -58,7 +59,7 @@ void NetworkList::NetworkChanged(chromeos::NetworkLibrary* network_lib) {
connected_network_ = NULL;
connecting_network_ = NULL;
networks_.clear();
- if (!network_lib || !network_lib->EnsureLoaded())
+ if (!network_lib || !CrosLibrary::EnsureLoaded())
return;
if (network_lib->ethernet_connected() || network_lib->ethernet_connecting()) {