Index: mojo/public/gles2/gles2_private.cc |
diff --git a/mojo/public/gles2/gles2_private.cc b/mojo/public/gles2/gles2_private.cc |
index c82e9deede9fef3236acb3c0794b93673a063964..de8dd344a1aa7e4d87ab944e9ea5142b22c34f8b 100644 |
--- a/mojo/public/gles2/gles2_private.cc |
+++ b/mojo/public/gles2/gles2_private.cc |
@@ -15,23 +15,15 @@ static mojo::GLES2Interface* g_gles2_interface = NULL; |
extern "C" { |
-void MojoGLES2Initialize(const MojoAsyncWaiter* async_waiter) { |
- assert(g_gles2_support); |
- return g_gles2_support->Initialize(async_waiter); |
-} |
- |
-void MojoGLES2Terminate() { |
- assert(g_gles2_support); |
- return g_gles2_support->Terminate(); |
-} |
- |
MojoGLES2Context MojoGLES2CreateContext( |
MojoHandle handle, |
MojoGLES2ContextLost lost_callback, |
- void* closure) { |
+ void* closure, |
+ const MojoAsyncWaiter* async_waiter) { |
return g_gles2_support->CreateContext(mojo::MessagePipeHandle(handle), |
lost_callback, |
- closure); |
+ closure, |
+ async_waiter); |
} |
void MojoGLES2DestroyContext(MojoGLES2Context context) { |