| Index: ui/views/mus/surface_context_factory.cc
|
| diff --git a/ui/views/mus/surface_context_factory.cc b/ui/views/mus/surface_context_factory.cc
|
| index 626038b5b0568dbd3badf1b726e73f20054a4792..ba29f460b795b0c128f253feb690d9dfdec8d090 100644
|
| --- a/ui/views/mus/surface_context_factory.cc
|
| +++ b/ui/views/mus/surface_context_factory.cc
|
| @@ -41,9 +41,9 @@ void SurfaceContextFactory::CreateCompositorFrameSink(
|
| ui::mojom::CompositorFrameSinkType compositor_frame_sink_type =
|
| native_widget->compositor_frame_sink_type();
|
| auto compositor_frame_sink = window->RequestCompositorFrameSink(
|
| - compositor_frame_sink_type,
|
| - make_scoped_refptr(
|
| - new ui::ContextProvider(gpu_service_->EstablishGpuChannelSync())));
|
| + compositor_frame_sink_type, make_scoped_refptr(new ui::ContextProvider(
|
| + gpu_service_->EstablishGpuChannelSync())),
|
| + gpu_service_->gpu_memory_buffer_manager());
|
| compositor->SetCompositorFrameSink(std::move(compositor_frame_sink));
|
| }
|
|
|
| @@ -78,11 +78,6 @@ uint32_t SurfaceContextFactory::GetImageTextureTarget(gfx::BufferFormat format,
|
| return GL_TEXTURE_2D;
|
| }
|
|
|
| -cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() {
|
| - // NOTIMPLEMENTED();
|
| - return nullptr;
|
| -}
|
| -
|
| gpu::GpuMemoryBufferManager*
|
| SurfaceContextFactory::GetGpuMemoryBufferManager() {
|
| return gpu_service_->gpu_memory_buffer_manager();
|
|
|