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

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

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)
Patch Set: In DisplayCompositor::CreateDisplayCompositorFrameSink, let a local variable hold the result of Cre… 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
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 2f829d343e494b0fcdb326d862bdd1adf87ebba4..4b435876a269d5eceac4da35b8a233c72b95a2c8 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -1406,9 +1406,8 @@ void WindowTree::AttachCompositorFrameSink(
DVLOG(1) << "request to AttachCompositorFrameSink failed";
return;
}
- window->CreateCompositorFrameSink(type, gfx::kNullAcceleratedWidget,
- std::move(compositor_frame_sink),
- std::move(client));
+ window->CreateOffscreenCompositorFrameSink(
+ type, std::move(compositor_frame_sink), std::move(client));
}
void WindowTree::SetWindowTextInputState(Id transport_window_id,
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698