| 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);
|
|
|