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

Unified Diff: extensions/browser/api/cast_channel/logger.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
« no previous file with comments | « extensions/browser/api/cast_channel/logger.h ('k') | extensions/browser/api/management/management_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index 9a420d8f1c58b8e55cb4f530994ed67bed4775e0..a0d92f3ada71098216b3bed3ca05eb4c1c51ba35 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -294,7 +294,7 @@ AggregatedSocketEvent& Logger::LogSocketEvent(int channel_id,
it = aggregated_socket_events_
.insert(std::make_pair(
- channel_id, make_linked_ptr(new AggregatedSocketEventLog)))
+ channel_id, base::MakeUnique<AggregatedSocketEventLog>()))
.first;
it->second->aggregated_socket_event.set_id(channel_id);
}
« no previous file with comments | « extensions/browser/api/cast_channel/logger.h ('k') | extensions/browser/api/management/management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698