| Index: services/ui/public/cpp/output_surface.cc
|
| diff --git a/services/ui/public/cpp/output_surface.cc b/services/ui/public/cpp/output_surface.cc
|
| index ed236960c10d6f4935320075bfb974501dc2f208..ddaaaa4c70b7f7be87b2f92da7b099d110ad3266 100644
|
| --- a/services/ui/public/cpp/output_surface.cc
|
| +++ b/services/ui/public/cpp/output_surface.cc
|
| @@ -7,16 +7,19 @@
|
| #include "base/bind.h"
|
| #include "cc/output/compositor_frame.h"
|
| #include "cc/output/output_surface_client.h"
|
| +#include "gpu/ipc/client/gpu_channel_host.h"
|
| #include "services/ui/public/cpp/context_provider.h"
|
| #include "services/ui/public/cpp/window_surface.h"
|
|
|
| namespace ui {
|
|
|
| -OutputSurface::OutputSurface(GpuService* gpu_service,
|
| - std::unique_ptr<ui::WindowSurface> surface)
|
| - : cc::OutputSurface(make_scoped_refptr(new ContextProvider(gpu_service)),
|
| - nullptr,
|
| - nullptr),
|
| +OutputSurface::OutputSurface(
|
| + scoped_refptr<gpu::GpuChannelHost> gpu_channel_host,
|
| + std::unique_ptr<ui::WindowSurface> surface)
|
| + : cc::OutputSurface(
|
| + make_scoped_refptr(new ContextProvider(std::move(gpu_channel_host))),
|
| + nullptr,
|
| + nullptr),
|
| surface_(std::move(surface)) {
|
| capabilities_.delegated_rendering = true;
|
| }
|
|
|