Index: mojo/gles2/gles2_context.cc |
diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc |
index 7334c64a9e10f4b6fe023c5402c2973bbf97648b..5574840129cf686667ca7355d347ecdf58626e83 100644 |
--- a/mojo/gles2/gles2_context.cc |
+++ b/mojo/gles2/gles2_context.cc |
@@ -19,11 +19,13 @@ const size_t kDefaultMinTransferBufferSize = 1 * 256 * 1024; |
const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024; |
} |
-GLES2Context::GLES2Context(const MojoAsyncWaiter* async_waiter, |
+GLES2Context::GLES2Context(const std::vector<int32_t>& attribs, |
+ const MojoAsyncWaiter* async_waiter, |
mojo::ScopedMessagePipeHandle command_buffer_handle, |
MojoGLES2ContextLost lost_callback, |
void* closure) |
- : command_buffer_(this, async_waiter, command_buffer_handle.Pass()), |
+ : command_buffer_(this, attribs, async_waiter, |
+ command_buffer_handle.Pass()), |
lost_callback_(lost_callback), |
closure_(closure) { |
} |