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

Unified Diff: services/surfaces/display_impl.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « services/js/echo_apptest.cc ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/surfaces/display_impl.cc
diff --git a/services/surfaces/display_impl.cc b/services/surfaces/display_impl.cc
index 217ebc5d70488fbcc7bf83cf55ad86e2b790b836..46585d3f7c4bb97da68db705ab2d86946cc1d492 100644
--- a/services/surfaces/display_impl.cc
+++ b/services/surfaces/display_impl.cc
@@ -48,7 +48,8 @@ void DisplayImpl::OnContextCreated(mojo::CommandBufferPtr gles2_client) {
display_.reset(new cc::Display(this, manager_, nullptr, nullptr, settings));
scheduler_->AddDisplay(display_.get());
display_->Initialize(make_scoped_ptr(new mojo::DirectOutputSurface(
- new mojo::ContextProviderMojo(gles2_client.PassMessagePipe()))));
+ new mojo::ContextProviderMojo(
+ gles2_client.PassInterface().PassHandle()))));
display_->Resize(last_submitted_frame_size_);
display_->SetSurfaceId(cc_id_, 1.f);
« no previous file with comments | « services/js/echo_apptest.cc ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698