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

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

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)
Patch Set: Removed commented out code 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..1104826b867095deb44f16c60db4c64c99e83624 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -43,7 +43,7 @@ void FrameGenerator::OnAcceleratedWidgetAvailable(
DCHECK_NE(gfx::kNullAcceleratedWidget, widget);
cc::mojom::MojoCompositorFrameSinkRequest request =
mojo::GetProxy(&compositor_frame_sink_);
- root_window_->CreateCompositorFrameSink(
+ root_window_->CreateDisplayCompositorFrameSink(
mojom::CompositorFrameSinkType::DEFAULT, widget, std::move(request),
binding_.CreateInterfacePtrAndBind());
// TODO(fsamuel): This means we're always requesting a new BeginFrame signal

Powered by Google App Engine
This is Rietveld 408576698