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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc

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
Index: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc
index f6433cee0750119084a443321304070e9f748c56..285ccc0d263ebbde730061cc6366366b24fd9e40 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection_manager.cc
@@ -153,7 +153,7 @@ void EasyUnlockPrivateConnectionManager::DispatchConnectionEvent(
events::HistogramValue histogram_value,
const Connection* connection,
std::unique_ptr<base::ListValue> args) {
- const EventListenerMap::ListenerList listeners =
+ const EventListenerMap::ListenerList& listeners =
EventRouter::Get(browser_context_)
->listeners()
.GetEventListenersByName(event_name);

Powered by Google App Engine
This is Rietveld 408576698