| Index: mojo/gles2/gles2_context.cc
|
| diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc
|
| index 5574840129cf686667ca7355d347ecdf58626e83..d8f6ece5a647c07f02964968a8c52fc6f10118e1 100644
|
| --- a/mojo/gles2/gles2_context.cc
|
| +++ b/mojo/gles2/gles2_context.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "mojo/gles2/gles2_context.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "gpu/command_buffer/client/gles2_cmd_helper.h"
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
| #include "gpu/command_buffer/client/transfer_buffer.h"
|
| @@ -24,11 +26,12 @@ GLES2Context::GLES2Context(const std::vector<int32_t>& attribs,
|
| mojo::ScopedMessagePipeHandle command_buffer_handle,
|
| MojoGLES2ContextLost lost_callback,
|
| void* closure)
|
| - : command_buffer_(this, attribs, async_waiter,
|
| - command_buffer_handle.Pass()),
|
| + : command_buffer_(this,
|
| + attribs,
|
| + async_waiter,
|
| + std::move(command_buffer_handle)),
|
| lost_callback_(lost_callback),
|
| - closure_(closure) {
|
| -}
|
| + closure_(closure) {}
|
|
|
| GLES2Context::~GLES2Context() {}
|
|
|
|
|