Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: mojo/gles2/gles2_impl.cc

Issue 1754683003: Mojo bindings environment: remove usage in gles2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/public/c/gles2/gles2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/gles2_impl.cc
diff --git a/mojo/gles2/gles2_impl.cc b/mojo/gles2/gles2_impl.cc
index bb117f522876a60d753b7109038a296effeaf520..c1875f41b7b1c568d71e9446c9e11ce67b115f05 100644
--- a/mojo/gles2/gles2_impl.cc
+++ b/mojo/gles2/gles2_impl.cc
@@ -31,8 +31,7 @@ extern "C" {
MojoGLES2Context MojoGLES2CreateContext(MojoHandle handle,
const int32_t* attrib_list,
MojoGLES2ContextLost lost_callback,
- void* closure,
- const MojoAsyncWaiter* async_waiter) {
+ void* closure) {
mojo::MessagePipeHandle mph(handle);
mojo::ScopedMessagePipeHandle scoped_handle(mph);
std::vector<int32_t> attribs;
@@ -44,7 +43,7 @@ MojoGLES2Context MojoGLES2CreateContext(MojoHandle handle,
}
attribs.push_back(kNone);
scoped_ptr<GLES2Context> client(new GLES2Context(
- attribs, async_waiter, std::move(scoped_handle), lost_callback, closure));
+ attribs, std::move(scoped_handle), lost_callback, closure));
if (!client->Initialize())
client.reset();
return client.release();
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/public/c/gles2/gles2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698