Index: services/ui/ws/platform_display.cc |
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc |
index 4f9c32c8ec4449e366556b9e894999bcb6b0ac18..e0f215a9d516bb362aa25789aa6ca5ff8e4f3b64 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()) |