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

Unified Diff: media/gpu/ipc/service/media_gpu_channel_manager.cc

Issue 2600603002: Remove base::ScopedPtrHashMap from media/. (Closed)
Patch Set: rev Created 4 years 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 | « media/gpu/ipc/service/media_gpu_channel_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/service/media_gpu_channel_manager.cc
diff --git a/media/gpu/ipc/service/media_gpu_channel_manager.cc b/media/gpu/ipc/service/media_gpu_channel_manager.cc
index 568723a9c4f2e12ccfe7b2d02e34b00c28f60868..684c05afc54282f0c7efe5c96a835fac1ac9a05f 100644
--- a/media/gpu/ipc/service/media_gpu_channel_manager.cc
+++ b/media/gpu/ipc/service/media_gpu_channel_manager.cc
@@ -29,7 +29,7 @@ void MediaGpuChannelManager::AddChannel(int32_t client_id) {
std::unique_ptr<MediaGpuChannel> media_gpu_channel(
new MediaGpuChannel(gpu_channel));
gpu_channel->SetUnhandledMessageListener(media_gpu_channel.get());
- media_gpu_channels_.set(client_id, std::move(media_gpu_channel));
+ media_gpu_channels_[client_id] = std::move(media_gpu_channel);
}
void MediaGpuChannelManager::RemoveChannel(int32_t client_id) {
« no previous file with comments | « media/gpu/ipc/service/media_gpu_channel_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698