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

Unified Diff: net/dns/mdns_client_impl.h

Issue 2389613002: Remove stl_util's deletion functions from net/dns/. (Closed)
Patch Set: fix Created 4 years, 1 month 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: net/dns/mdns_client_impl.h
diff --git a/net/dns/mdns_client_impl.h b/net/dns/mdns_client_impl.h
index 1f064129ea7ae340fb5393aadbf4b341d82ef69e..a39aabf7d4925490e8b0ff2c15ade9aae8bd8e0c 100644
--- a/net/dns/mdns_client_impl.h
+++ b/net/dns/mdns_client_impl.h
@@ -148,7 +148,8 @@ class NET_EXPORT_PRIVATE MDnsClientImpl : public MDnsClient {
FRIEND_TEST_ALL_PREFIXES(MDnsTest, CacheCleanupWithShortTTL);
typedef std::pair<std::string, uint16_t> ListenerKey;
- typedef std::map<ListenerKey, base::ObserverList<MDnsListenerImpl>*>
+ typedef std::map<ListenerKey,
+ std::unique_ptr<base::ObserverList<MDnsListenerImpl>>>
ListenerMap;
// Alert listeners of an update to the cache.

Powered by Google App Engine
This is Rietveld 408576698