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

Unified Diff: chrome/browser/local_discovery/privet_notifications.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
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);

Powered by Google App Engine
This is Rietveld 408576698