Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / local_discovery / service_discovery_client_utility.cc
index 82f99a1..9e2d5d7 100644 (file)
@@ -96,7 +96,7 @@ void ServiceDiscoveryClientUtility::StartNewClient() {
   }
   // Run when host_client_ is created. Callbacks created by InvalidateWatchers
   // may create new watchers.
-  if (old_client)
+  if (old_client.get())
     old_client->InvalidateWatchers();
 }