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

Unified Diff: services/ui/surfaces/compositor_frame_sink.cc

Issue 2400593002: Mus+Ash: Fix the FrameSinkId of the FrameGenerator's CompositorFrameSink (Closed)
Patch Set: Fixed FrameGeneratorTest Created 4 years, 2 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 | « services/ui/surfaces/compositor_frame_sink.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/compositor_frame_sink.cc
diff --git a/services/ui/surfaces/compositor_frame_sink.cc b/services/ui/surfaces/compositor_frame_sink.cc
index 2270d455b10bdd12397d0adb38647a79d937e73f..c880bd130d122447cedd8eeb369424f72e49433f 100644
--- a/services/ui/surfaces/compositor_frame_sink.cc
+++ b/services/ui/surfaces/compositor_frame_sink.cc
@@ -26,11 +26,12 @@ namespace ui {
namespace surfaces {
CompositorFrameSink::CompositorFrameSink(
+ const cc::FrameSinkId& frame_sink_id,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
gfx::AcceleratedWidget widget,
scoped_refptr<gpu::GpuChannelHost> gpu_channel,
const scoped_refptr<DisplayCompositor>& display_compositor)
- : frame_sink_id_(display_compositor->GenerateNextClientId(), 0),
+ : frame_sink_id_(frame_sink_id),
task_runner_(task_runner),
display_compositor_(display_compositor),
factory_(frame_sink_id_, display_compositor->manager(), this) {
« no previous file with comments | « services/ui/surfaces/compositor_frame_sink.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698