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

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

Issue 2521763002: Give ServerWindowCompositorFrameSinkManager ownership of GpuCompositorFrameSink (Closed)
Patch Set: 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
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_compositor_frame_sink_manager.cc
diff --git a/services/ui/ws/server_window_compositor_frame_sink_manager.cc b/services/ui/ws/server_window_compositor_frame_sink_manager.cc
index f9aa0904b5e9af7761b6294c5f9e982e42f15bf4..a77cdfe5bb28e446df93a9cdc6da55de430b4a46 100644
--- a/services/ui/ws/server_window_compositor_frame_sink_manager.cc
+++ b/services/ui/ws/server_window_compositor_frame_sink_manager.cc
@@ -58,12 +58,10 @@ void ServerWindowCompositorFrameSinkManager::CreateCompositorFrameSink(
// TODO(fsamuel): Create the CompositorFrameSink through the DisplayCompositor
// mojo interface.
- mojo::MakeStrongBinding(
- base::MakeUnique<GpuCompositorFrameSink>(
- window_->delegate()->GetDisplayCompositor(), frame_sink_id, widget,
- gpu_memory_buffer_manager, std::move(context_provider),
- std::move(request), std::move(client)),
- std::move(private_request));
+ data.compositor_frame_sink_impl_ = base::MakeUnique<GpuCompositorFrameSink>(
+ window_->delegate()->GetDisplayCompositor(), frame_sink_id, widget,
+ gpu_memory_buffer_manager, std::move(context_provider),
+ std::move(request), std::move(private_request), std::move(client));
if (window_->parent()) {
window_->delegate()
->GetRootWindow(window_)
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698