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

Unified Diff: components/view_manager/gles2/gpu_impl.cc

Issue 1231263003: Share SyncPointManager between ipc and in-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mandoline Created 5 years, 5 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: components/view_manager/gles2/gpu_impl.cc
diff --git a/components/view_manager/gles2/gpu_impl.cc b/components/view_manager/gles2/gpu_impl.cc
index c8ecfb20ce5573178753d49a502269720646b89d..0870ed2e3b01afc348737aa29ee8d709dad63a18 100644
--- a/components/view_manager/gles2/gpu_impl.cc
+++ b/components/view_manager/gles2/gpu_impl.cc
@@ -26,11 +26,8 @@ GpuImpl::~GpuImpl() {
void GpuImpl::CreateOffscreenGLES2Context(
mojo::InterfaceRequest<mojo::CommandBuffer> request) {
new CommandBufferImpl(request.Pass(), mojo::ViewportParameterListenerPtr(),
- state_->control_task_runner(),
- state_->sync_point_manager(),
- make_scoped_ptr(new CommandBufferDriver(
- state_->share_group(), state_->mailbox_manager(),
- state_->sync_point_manager())));
+ state_,
+ make_scoped_ptr(new CommandBufferDriver(state_)));
}
} // namespace gles2

Powered by Google App Engine
This is Rietveld 408576698