Index: chrome/browser/chromeos/net/connectivity_state_helper.cc |
diff --git a/chrome/browser/chromeos/net/connectivity_state_helper.cc b/chrome/browser/chromeos/net/connectivity_state_helper.cc |
index e7085ef9d454fceebccd2ed53c535db769cf983b..42549bebfbd9a1344819e4b66318f49133b74893 100644 |
--- a/chrome/browser/chromeos/net/connectivity_state_helper.cc |
+++ b/chrome/browser/chromeos/net/connectivity_state_helper.cc |
@@ -128,12 +128,12 @@ void ConnectivityStateHelper::RemoveNetworkManagerObserver( |
} |
ConnectivityStateHelperImpl::ConnectivityStateHelperImpl() { |
- network_state_handler_ = NetworkStateHandler::Get(); |
+ network_state_handler_ = NetworkHandler::Get()->network_state_handler(); |
network_state_handler_->AddObserver(this); |
} |
ConnectivityStateHelperImpl::~ConnectivityStateHelperImpl() { |
- NetworkStateHandler::Get()->RemoveObserver(this); |
+ network_state_handler_->RemoveObserver(this); |
} |
bool ConnectivityStateHelperImpl::IsConnected() { |