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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.cc

Issue 2275113002: Provide task runner to GLES2Impl / CommandBuffer at creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-cleanup4
Patch Set: cleanup Created 4 years, 4 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
Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
index 4d3a4b0672df1a6585e7964196ddd7398d626d57..577e75b0bbf4b8f829b5be2c5ba4d4fc04eba9f5 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -138,13 +138,10 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
// Create the object exposing the OpenGL API.
gles2_impl_.reset(new gpu::gles2::GLES2Implementation(
- gles2_helper_.get(),
- share_gles2 ? share_gles2->share_group() : NULL,
- transfer_buffer_.get(),
- bind_creates_resources,
- lose_context_when_out_of_memory,
- support_client_side_arrays,
- GetGpuControl()));
+ gles2_helper_.get(), share_gles2 ? share_gles2->share_group() : NULL,
+ transfer_buffer_.get(), bind_creates_resources,
+ lose_context_when_out_of_memory, support_client_side_arrays,
+ GetGpuControl(), nullptr));
if (!gles2_impl_->Initialize(
transfer_buffer_size, kMinTransferBufferSize,

Powered by Google App Engine
This is Rietveld 408576698