Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2579693004: GpuCompositorFrameSink implements cc::mojom::DisplayPrivate (Closed)
Patch Set: Address comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index 81cdf556c9cda80804e7cf41856a923a1d62fa5d..7229a299d751fdbbffde7e42542d11099c94012c 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -42,8 +42,10 @@ void FrameGenerator::OnAcceleratedWidgetAvailable(
gfx::AcceleratedWidget widget) {
DCHECK_NE(gfx::kNullAcceleratedWidget, widget);
cc::mojom::MojoCompositorFrameSinkRequest request(&compositor_frame_sink_);
+ cc::mojom::DisplayPrivateRequest display_private_request(&display_private_);
root_window_->CreateDisplayCompositorFrameSink(
- widget, std::move(request), binding_.CreateInterfacePtrAndBind());
+ widget, std::move(request), binding_.CreateInterfacePtrAndBind(),
+ std::move(display_private_request));
// TODO(fsamuel): This means we're always requesting a new BeginFrame signal
// even when we don't need it. Once surface ID propagation work is done,
// this will not be necessary because FrameGenerator will only need a

Powered by Google App Engine
This is Rietveld 408576698