Index: chrome/browser/local_discovery/privet_notifications.cc |
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc |
index f285de6daa21a077d27333144a0bb874bfd97434..f87e0a9e64e2ffe283502f28e369962b089533bb 100644 |
--- a/chrome/browser/local_discovery/privet_notifications.cc |
+++ b/chrome/browser/local_discovery/privet_notifications.cc |
@@ -343,8 +343,8 @@ void PrivetNotificationService::StartLister() { |
traffic_detector_ = NULL; |
#endif // ENABLE_MDNS |
service_discovery_client_ = ServiceDiscoverySharedClient::GetInstance(); |
- device_lister_.reset(new PrivetDeviceListerImpl(service_discovery_client_, |
- this)); |
+ device_lister_.reset( |
+ new PrivetDeviceListerImpl(service_discovery_client_.get(), this)); |
device_lister_->Start(); |
device_lister_->DiscoverNewDevices(false); |