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

Unified Diff: extensions/browser/event_listener_map.h

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: address comments Created 4 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 | « extensions/browser/declarative_user_script_manager.cc ('k') | extensions/browser/event_listener_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/event_listener_map.h
diff --git a/extensions/browser/event_listener_map.h b/extensions/browser/event_listener_map.h
index fe1568edc02dd64ce942baa63e4cc99c9eabf1d3..c57f17dd063a1f5aadffc04a7f745c84514bedf2 100644
--- a/extensions/browser/event_listener_map.h
+++ b/extensions/browser/event_listener_map.h
@@ -106,7 +106,7 @@ class EventListener {
// listeners are interested in what events.
class EventListenerMap {
public:
- typedef std::vector<linked_ptr<EventListener> > ListenerList;
+ using ListenerList = std::vector<std::unique_ptr<EventListener>>;
class Delegate {
public:
« no previous file with comments | « extensions/browser/declarative_user_script_manager.cc ('k') | extensions/browser/event_listener_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698