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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy Created 4 years, 5 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/test/test_render_view_host.cc ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc
index 21290a65e866993cab13010a52234b142fe90439..65420dc2b7c678a213e9bc76b2f49262fba55c28 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.cc
@@ -31,7 +31,7 @@ CompositorFrameSinkImpl::CompositorFrameSinkImpl(
sink_id_(sink_id),
begin_frame_source_(nullptr),
needs_begin_frame_(false),
- factory_(surfaces_state->manager(), this),
+ factory_(sink_id, surfaces_state->manager(), this),
client_(std::move(client)),
binding_(this, std::move(request)) {
DCHECK(delegate_);
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698