Index: chrome/browser/local_discovery/storage/privet_volume_lister.cc |
diff --git a/chrome/browser/local_discovery/storage/privet_volume_lister.cc b/chrome/browser/local_discovery/storage/privet_volume_lister.cc |
index ed640fc5310d21e96343a2c0e2e33771dfa87e63..cc387eb3dfd4f97b2bf19824a5456dca74b2758d 100644 |
--- a/chrome/browser/local_discovery/storage/privet_volume_lister.cc |
+++ b/chrome/browser/local_discovery/storage/privet_volume_lister.cc |
@@ -69,8 +69,8 @@ PrivetVolumeLister::~PrivetVolumeLister() { |
void PrivetVolumeLister::Start() { |
#if defined(ENABLE_SERVICE_DISCOVERY) |
service_discovery_client_ = ServiceDiscoverySharedClient::GetInstance(); |
- privet_lister_.reset(new PrivetDeviceListerImpl(service_discovery_client_, |
- this)); |
+ privet_lister_.reset( |
+ new PrivetDeviceListerImpl(service_discovery_client_.get(), this)); |
privet_lister_->Start(); |
privet_lister_->DiscoverNewDevices(false); |
base::MessageLoop::current()->PostDelayedTask( |