summaryrefslogtreecommitdiffstats
path: root/components/bitmap_uploader
diff options
context:
space:
mode:
Diffstat (limited to 'components/bitmap_uploader')
-rw-r--r--components/bitmap_uploader/bitmap_uploader.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index 8a3a80f..2b1a1f8 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -54,9 +54,8 @@ void BitmapUploader::Init(mojo::Shell* shell) {
mus::mojom::CommandBufferPtr gles2_client;
gpu_service_->CreateOffscreenGLES2Context(GetProxy(&gles2_client));
gles2_context_ = MojoGLES2CreateContext(
- gles2_client.PassInterface().PassHandle().release().value(),
- nullptr,
- &LostContext, nullptr, mojo::Environment::GetDefaultAsyncWaiter());
+ gles2_client.PassInterface().PassHandle().release().value(), nullptr,
+ &LostContext, nullptr);
MojoGLES2MakeCurrent(gles2_context_);
}