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

Unified Diff: ui/aura/mus/window_port_mus.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 | « ui/aura/mus/window_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.cc
diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
index baba5ca7f1819823f2f9ec8f2b88db71b713d897..b4f638319a60ef36f28043954e6378cb24d2fca0 100644
--- a/ui/aura/mus/window_port_mus.cc
+++ b/ui/aura/mus/window_port_mus.cc
@@ -79,10 +79,11 @@ WindowPortMus::RequestCompositorFrameSink(
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
std::unique_ptr<WindowCompositorFrameSinkBinding>
compositor_frame_sink_binding;
+ cc::FrameSinkId frame_sink_id(server_id(), 0);
Fady Samuel 2017/01/13 19:39:05 No point in having a member variable
Saman Sami 2017/01/13 19:41:52 Done.
std::unique_ptr<WindowCompositorFrameSink> compositor_frame_sink =
- WindowCompositorFrameSink::Create(std::move(context_provider),
- gpu_memory_buffer_manager,
- &compositor_frame_sink_binding);
+ WindowCompositorFrameSink::Create(
+ frame_sink_id, std::move(context_provider), gpu_memory_buffer_manager,
Fady Samuel 2017/01/13 19:39:05 cc::FrameSinkId(server_id(), 0)
Saman Sami 2017/01/13 19:41:52 Done.
+ &compositor_frame_sink_binding);
AttachCompositorFrameSink(std::move(compositor_frame_sink_binding));
return compositor_frame_sink;
}
« no previous file with comments | « ui/aura/mus/window_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698