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

Unified Diff: content/renderer/mus/render_widget_mus_connection.cc

Issue 2626023007: Passing FrameSinkId to WindowCompositorFrameSink (Closed)
Patch Set: c Created 3 years, 11 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
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/render_widget_mus_connection.cc
diff --git a/content/renderer/mus/render_widget_mus_connection.cc b/content/renderer/mus/render_widget_mus_connection.cc
index efced50a7bfc9d17ff36229bb6204697a5466b79..b416e755c3661a46068ef33130fb83667a95fe6c 100644
--- a/content/renderer/mus/render_widget_mus_connection.cc
+++ b/content/renderer/mus/render_widget_mus_connection.cc
@@ -39,6 +39,7 @@ void RenderWidgetMusConnection::Bind(
std::unique_ptr<cc::CompositorFrameSink>
RenderWidgetMusConnection::CreateCompositorFrameSink(
+ const cc::FrameSinkId& frame_sink_id,
scoped_refptr<cc::ContextProvider> context_provider,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -46,7 +47,7 @@ RenderWidgetMusConnection::CreateCompositorFrameSink(
std::unique_ptr<cc::CompositorFrameSink> compositor_frame_sink(
ui::WindowCompositorFrameSink::Create(
- std::move(context_provider), gpu_memory_buffer_manager,
+ frame_sink_id, std::move(context_provider), gpu_memory_buffer_manager,
&window_compositor_frame_sink_binding_));
if (compositor_mus_connection_) {
compositor_mus_connection_->AttachCompositorFrameSinkOnMainThread(
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698