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

Unified Diff: mojo/services/surfaces/surfaces_impl.cc

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: mac build fix Created 6 years, 2 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: mojo/services/surfaces/surfaces_impl.cc
diff --git a/mojo/services/surfaces/surfaces_impl.cc b/mojo/services/surfaces/surfaces_impl.cc
index 9d79a7a02e53d50f4590f6916ff20a3547f12c2c..2393c2b0100afa81a05166089dbb1a0f15673dff 100644
--- a/mojo/services/surfaces/surfaces_impl.cc
+++ b/mojo/services/surfaces/surfaces_impl.cc
@@ -75,7 +75,7 @@ void SurfacesImpl::CreateGLES2BoundSurface(CommandBufferPtr gles2_client,
return;
}
if (!display_) {
- display_.reset(new cc::Display(this, manager_, NULL));
+ display_.reset(new cc::Display(this, manager_, NULL, NULL));
client_->SetDisplay(display_.get());
display_->Initialize(make_scoped_ptr(new cc::OutputSurface(
new ContextProviderMojo(command_buffer_handle_.Pass()))));

Powered by Google App Engine
This is Rietveld 408576698