Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / base / network_change_notifier_mac.cc
index d75f0f8..7fa97b4 100644 (file)
@@ -265,8 +265,7 @@ void NetworkChangeNotifierMac::ReachabilityCallback(
 #if defined(OS_IOS)
   // On iOS, the SCDynamicStore API does not exist, and we use the reachability
   // API to detect IP address changes instead.
-  if (new_type != CONNECTION_NONE)
-    NotifyObserversOfIPAddressChange();
+  NotifyObserversOfIPAddressChange();
 #endif  // defined(OS_IOS)
 }