Index: content/common/gpu/gpu_channel_manager.cc |
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc |
index d5cf8c8d3acf09b6997e3d7642536cab65035378..4dd10273396ee5a9e9f562f335dd1b189267ad39 100644 |
--- a/content/common/gpu/gpu_channel_manager.cc |
+++ b/content/common/gpu/gpu_channel_manager.cc |
@@ -5,6 +5,7 @@ |
#include "content/common/gpu/gpu_channel_manager.h" |
#include <algorithm> |
+#include <utility> |
#include "base/bind.h" |
#include "base/command_line.h" |
@@ -180,7 +181,7 @@ void GpuChannelManager::OnEstablishChannel( |
channel->SetPreemptByFlag(preemption_flag_.get()); |
IPC::ChannelHandle channel_handle = channel->Init(shutdown_event_); |
- gpu_channels_.set(params.client_id, channel.Pass()); |
+ gpu_channels_.set(params.client_id, std::move(channel)); |
Send(new GpuHostMsg_ChannelEstablished(channel_handle)); |
} |