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

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

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)
Patch Set: Addressed 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 d9774da887dd264bced6fe27dd6dde015ea12447..acc12aff03803d6a58a963448b5638a8ec084fa2 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -43,9 +43,8 @@ void FrameGenerator::OnAcceleratedWidgetAvailable(
DCHECK_NE(gfx::kNullAcceleratedWidget, widget);
cc::mojom::MojoCompositorFrameSinkRequest request =
mojo::GetProxy(&compositor_frame_sink_);
- root_window_->CreateCompositorFrameSink(
- mojom::CompositorFrameSinkType::DEFAULT, widget, std::move(request),
- binding_.CreateInterfacePtrAndBind());
+ root_window_->CreateDisplayCompositorFrameSink(
+ widget, std::move(request), binding_.CreateInterfacePtrAndBind());
// 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