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

Unified Diff: mojo/aura/surface_binding.cc

Issue 808003002: Fix compositor integration in ui/compositor (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | mojo/aura/surface_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/surface_binding.cc
diff --git a/mojo/aura/surface_binding.cc b/mojo/aura/surface_binding.cc
index 82d89b2b2d58f07323ccde1d37bff85d56ad59b7..618db38246f7db8503b8d377ef0111d73dedbb90 100644
--- a/mojo/aura/surface_binding.cc
+++ b/mojo/aura/surface_binding.cc
@@ -181,7 +181,7 @@ SurfaceBinding::PerViewManagerState::CreateOutputSurface(View* view) {
gpu_->CreateOffscreenGLES2Context(GetProxy(&cb));
scoped_refptr<cc::ContextProvider> context_provider(
new ContextProviderMojo(cb.PassMessagePipe()));
- return scoped_ptr<cc::OutputSurface>(new OutputSurfaceImpl(
+ return make_scoped_ptr(new OutputSurfaceImpl(
view, context_provider, surface_.get(), surface_id_allocator_.get()));
}
« no previous file with comments | « no previous file | mojo/aura/surface_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698