diff options
Diffstat (limited to 'chrome/browser/chromeos/network_state_notifier.h')
-rw-r--r-- | chrome/browser/chromeos/network_state_notifier.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/network_state_notifier.h b/chrome/browser/chromeos/network_state_notifier.h index 94e57f4..31103f0 100644 --- a/chrome/browser/chromeos/network_state_notifier.h +++ b/chrome/browser/chromeos/network_state_notifier.h @@ -48,7 +48,7 @@ class NetworkStateDetails { class NetworkStateNotifier : public NetworkLibrary::NetworkManagerObserver { public: // Returns the singleton instance of the network state notifier; - static NetworkStateNotifier* Get(); + static NetworkStateNotifier* GetInstance(); // The duration of being in offline. The value is undefined when // when network is connected. @@ -56,7 +56,7 @@ class NetworkStateNotifier : public NetworkLibrary::NetworkManagerObserver { // Returns true if the network is connected. static bool is_connected() { - return Get()->state_ == NetworkStateDetails::CONNECTED; + return GetInstance()->state_ == NetworkStateDetails::CONNECTED; } // NetworkLibrary::NetworkManagerObserver implementation. |