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

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

Issue 2152373003: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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_unittest.cc
diff --git a/chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc b/chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc
index c112d4987e5a7336833b079495a5503f91c5747b..a95e68a2078230ea75bff8c5ea7f46889a7e1aad 100644
--- a/chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc
+++ b/chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc
@@ -31,7 +31,7 @@ class TestDnsSdRegistry : public DnsSdRegistry {
if (service_data_map_.find(service_type) == service_data_map_.end())
return 0;
- return service_data_map_[service_type].get()->GetListenerCount();
+ return service_data_map_[service_type]->GetListenerCount();
}
MockDnsSdDeviceLister* GetLister(const std::string& service_type) {

Powered by Google App Engine
This is Rietveld 408576698