| Index: content/common/gpu/gpu_channel.cc
|
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
|
| index b5e9aec2f161ffc87084dd3ad70a9c2b87e15a54..c8c11a4877da9134649e4ac2f7ce783bbb75320e 100644
|
| --- a/content/common/gpu/gpu_channel.cc
|
| +++ b/content/common/gpu/gpu_channel.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/common/gpu/gpu_channel.h"
|
|
|
| +#include <utility>
|
| +
|
| #if defined(OS_WIN)
|
| #include <windows.h>
|
| #endif
|
| @@ -127,7 +129,7 @@ bool GpuChannelMessageQueue::GenerateSyncPointMessage(
|
| msg->retire_sync_point = retire_sync_point;
|
| msg->sync_point = *sync_point;
|
|
|
| - PushMessageHelper(msg.Pass());
|
| + PushMessageHelper(std::move(msg));
|
| return true;
|
| }
|
| return false;
|
| @@ -745,7 +747,7 @@ CreateCommandBufferResult GpuChannel::CreateViewCommandBuffer(
|
| streams_.insert(std::make_pair(stream_id, stream));
|
| }
|
|
|
| - stubs_.set(route_id, stub.Pass());
|
| + stubs_.set(route_id, std::move(stub));
|
| return CREATE_COMMAND_BUFFER_SUCCEEDED;
|
| }
|
|
|
| @@ -964,7 +966,7 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(
|
| streams_.insert(std::make_pair(stream_id, stream));
|
| }
|
|
|
| - stubs_.set(route_id, stub.Pass());
|
| + stubs_.set(route_id, std::move(stub));
|
| *succeeded = true;
|
| }
|
|
|
|
|