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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Addressed Antoine's comment Created 3 years, 9 months 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: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 951c1af74ccd8cc874c0f76414341541214b9da0..408fe12d6ba9d655cfbd606a9a0bd9bd4c664dfa 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1889,11 +1889,10 @@ void RenderThreadImpl::RequestNewCompositorFrameSink(
callback.Run(nullptr);
return;
}
- callback.Run(RendererWindowTreeClient::Get(routing_id)
- ->CreateCompositorFrameSink(
- cc::FrameSinkId(client_id_, routing_id),
- gpu_->CreateContextProvider(std::move(channel)),
- GetGpuMemoryBufferManager()));
+ RendererWindowTreeClient::Get(routing_id)
+ ->RequestCompositorFrameSink(
+ gpu_->CreateContextProvider(std::move(channel)),
+ GetGpuMemoryBufferManager(), callback);
return;
}
#endif
« no previous file with comments | « content/renderer/mus/renderer_window_tree_client.cc ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698