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

Unified Diff: components/bitmap_uploader/bitmap_uploader.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 | « no previous file | components/mus/public/cpp/lib/context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bitmap_uploader/bitmap_uploader.cc
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index acca97b4a253d2384c919301b1f8a57832218ea8..d65474277564f8df571bf10aaec56b4ec8fb57f1 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -54,9 +54,8 @@ void BitmapUploader::Init(mojo::Connector* connector) {
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_);
}
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698