| Index: components/exo/surface.cc
|
| diff --git a/components/exo/surface.cc b/components/exo/surface.cc
|
| index dffcaee6487592251ba2233159b312b3e5792e16..01115e7f2cccf801d612a643f4203fb82be38fc0 100644
|
| --- a/components/exo/surface.cc
|
| +++ b/components/exo/surface.cc
|
| @@ -178,15 +178,9 @@ Surface::Surface()
|
| frame_sink_id_(aura::Env::GetInstance()
|
| ->context_factory_private()
|
| ->AllocateFrameSinkId()) {
|
| - cc::mojom::MojoCompositorFrameSinkClientPtr frame_sink_holder_ptr;
|
| - cc::mojom::MojoCompositorFrameSinkClientRequest frame_sink_client_request(
|
| - &frame_sink_holder_ptr);
|
| - std::unique_ptr<CompositorFrameSink> frame_sink(new CompositorFrameSink(
|
| - frame_sink_id_,
|
| - aura::Env::GetInstance()->context_factory_private()->GetSurfaceManager(),
|
| - std::move(frame_sink_holder_ptr)));
|
| compositor_frame_sink_holder_ = new CompositorFrameSinkHolder(
|
| - this, std::move(frame_sink), std::move(frame_sink_client_request));
|
| + this, frame_sink_id_,
|
| + aura::Env::GetInstance()->context_factory_private()->GetSurfaceManager());
|
| surface_reference_factory_ =
|
| new CustomSurfaceReferenceFactory(compositor_frame_sink_holder_.get());
|
| window_->SetType(ui::wm::WINDOW_TYPE_CONTROL);
|
|
|