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

Unified Diff: components/surfaces/display_impl.cc

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 5 years, 7 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 | « components/html_viewer/web_layer_tree_view_impl.cc ('k') | mandoline/ui/aura/surface_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/surfaces/display_impl.cc
diff --git a/components/surfaces/display_impl.cc b/components/surfaces/display_impl.cc
index 6306438632189eb5ce24c13ccd9a5d5975f791a5..4c2aa3eaaf8eed1c623c187c5a4cc18210b6cbf9 100644
--- a/components/surfaces/display_impl.cc
+++ b/components/surfaces/display_impl.cc
@@ -46,8 +46,9 @@ void DisplayImpl::OnContextCreated(mojo::CommandBufferPtr gles2_client) {
cc::RendererSettings settings;
display_.reset(new cc::Display(this, manager_, nullptr, nullptr, settings));
scheduler_->AddDisplay(display_.get());
- display_->Initialize(make_scoped_ptr(new surfaces::DirectOutputSurface(
- new surfaces::SurfacesContextProvider(gles2_client.PassMessagePipe()))));
+ display_->Initialize(make_scoped_ptr(
+ new surfaces::DirectOutputSurface(new surfaces::SurfacesContextProvider(
+ gles2_client.PassInterface().PassHandle()))));
factory_.Create(cc_id_);
display_->SetSurfaceId(cc_id_, 1.f);
« no previous file with comments | « components/html_viewer/web_layer_tree_view_impl.cc ('k') | mandoline/ui/aura/surface_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698