Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: chrome/browser/local_discovery/storage/privet_volume_lister.cc

Issue 502173004: Remove implicit conversions from scoped_refptr to T* in chrome/browser/local_discovery/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/local_discovery/service_discovery_client_utility.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/local_discovery/service_discovery_client_utility.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698