Index: chrome/browser/chromeos/cros/network_library_impl_base.cc |
diff --git a/chrome/browser/chromeos/cros/network_library_impl_base.cc b/chrome/browser/chromeos/cros/network_library_impl_base.cc |
index 01589768bb93fdecc078cc478b203df12ad47e70..935a89a0cdc09edeff0f2e3e7745e989d715afd8 100644 |
--- a/chrome/browser/chromeos/cros/network_library_impl_base.cc |
+++ b/chrome/browser/chromeos/cros/network_library_impl_base.cc |
@@ -1204,8 +1204,10 @@ void NetworkLibraryImplBase::LoadOncNetworks( |
ForgetNetworksById(source, removal_ids, true); |
} |
// Ensure NetworkStateHandler properties are up-to-date. |
- if (NetworkStateHandler::IsInitialized()) |
- NetworkStateHandler::Get()->RequestUpdateForAllNetworks(); |
+ if (NetworkHandler::IsInitialized()) { |
+ NetworkHandler::Get()->network_state_handler()-> |
+ RequestUpdateForAllNetworks(); |
+ } |
} |
//////////////////////////////////////////////////////////////////////////// |