summaryrefslogtreecommitdiffstats
path: root/mojo/gles2/gles2_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/gles2/gles2_context.cc')
-rw-r--r--mojo/gles2/gles2_context.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc
index 126a513..195ec60 100644
--- a/mojo/gles2/gles2_context.cc
+++ b/mojo/gles2/gles2_context.cc
@@ -21,11 +21,11 @@ const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
}
GLES2Context::GLES2Context(MojoAsyncWaiter* async_waiter,
- ScopedMessagePipeHandle pipe,
+ ScopedCommandBufferHandle command_buffer_handle,
MojoGLES2ContextLost lost_callback,
MojoGLES2DrawAnimationFrame animation_callback,
void* closure)
- : command_buffer_(this, async_waiter, pipe.Pass()),
+ : command_buffer_(this, async_waiter, command_buffer_handle.Pass()),
lost_callback_(lost_callback),
animation_callback_(animation_callback),
closure_(closure) {}