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

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

Issue 2471503002: Mus+Ash: Unify CompositorFrameSinks (Closed)
Patch Set: Added comment Created 4 years, 1 month 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/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 1003928bf8b306b513d7c08a45ceda6d515e4770..5dbc6f330706a1adcc6b8a5b76c3e92d98829e7d 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -1354,7 +1354,7 @@ void WindowTree::SetWindowOpacity(uint32_t change_id,
void WindowTree::AttachCompositorFrameSink(
Id transport_window_id,
mojom::CompositorFrameSinkType type,
- mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface,
+ cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
cc::mojom::MojoCompositorFrameSinkClientPtr client) {
ServerWindow* window =
GetWindowByClientId(ClientWindowId(transport_window_id));
@@ -1364,7 +1364,8 @@ void WindowTree::AttachCompositorFrameSink(
DVLOG(1) << "request to AttachCompositorFrameSink failed";
return;
}
- window->CreateCompositorFrameSink(type, std::move(surface),
+ window->CreateCompositorFrameSink(type, gfx::kNullAcceleratedWidget, nullptr,
+ nullptr, std::move(compositor_frame_sink),
std::move(client));
}
« services/ui/ws/server_window_compositor_frame_sink.cc ('K') | « services/ui/ws/window_tree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698