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

Unified Diff: chrome/browser/extensions/api/mdns/dns_sd_registry.cc

Issue 501263002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/api/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just in case 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/extensions/api/mdns/dns_sd_registry.cc
diff --git a/chrome/browser/extensions/api/mdns/dns_sd_registry.cc b/chrome/browser/extensions/api/mdns/dns_sd_registry.cc
index 936b2d281a21319a9e97abb61c643df6311044ca..b8d7e80923d12f6d70a44dc7b0ab149b94304d76 100644
--- a/chrome/browser/extensions/api/mdns/dns_sd_registry.cc
+++ b/chrome/browser/extensions/api/mdns/dns_sd_registry.cc
@@ -140,7 +140,7 @@ void DnsSdRegistry::RegisterDnsSdListener(std::string service_type) {
}
scoped_ptr<DnsSdDeviceLister> dns_sd_device_lister(CreateDnsSdDeviceLister(
- this, service_type, service_discovery_client_));
+ this, service_type, service_discovery_client_.get()));
dns_sd_device_lister->Discover(false);
linked_ptr<ServiceTypeData> service_type_data(
new ServiceTypeData(dns_sd_device_lister.Pass()));

Powered by Google App Engine
This is Rietveld 408576698