| Index: services/ui/ws/platform_display.cc
|
| diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
|
| index 88d843592fc61a5708d63105595cd509515746ee..9c8db7f6b02a71bf1e04ab6262a561af15b7187a 100644
|
| --- a/services/ui/ws/platform_display.cc
|
| +++ b/services/ui/ws/platform_display.cc
|
| @@ -9,6 +9,7 @@
|
| #include "cc/ipc/quads.mojom.h"
|
| #include "cc/output/copy_output_request.h"
|
| #include "cc/output/delegated_frame_data.h"
|
| +#include "gpu/ipc/client/gpu_channel_host.h"
|
| #include "services/shell/public/cpp/connection.h"
|
| #include "services/shell/public/cpp/connector.h"
|
| #include "services/ui/surfaces/display_compositor.h"
|
| @@ -171,6 +172,11 @@ bool DefaultPlatformDisplay::IsPrimaryDisplay() const {
|
| return platform_screen_->GetPrimaryDisplayId() == id_;
|
| }
|
|
|
| +void DefaultPlatformDisplay::OnGpuChannelEstablished(
|
| + scoped_refptr<gpu::GpuChannelHost> channel) {
|
| + frame_generator_->OnGpuChannelEstablished(channel);
|
| +}
|
| +
|
| void DefaultPlatformDisplay::UpdateMetrics(const gfx::Rect& bounds,
|
| float device_scale_factor) {
|
| if (display::Display::HasForceDeviceScaleFactor())
|
|
|