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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2711913006: Move FrameSink hierarchy registration to DisplayCompositor interface (Closed)
Patch Set: Fix mojom Formatting Created 3 years, 10 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 | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index 5feef007b7c0405d5b700c23bb48d772979877d3..ac60f6780ebb36dc1d9176e0456f9a44853c2f3a 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -53,8 +53,6 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
void Require(const LocalSurfaceId& local_surface_id,
const SurfaceSequence& sequence);
void Satisfy(const SurfaceSequence& sequence);
- void AddChildFrameSink(const FrameSinkId& child_frame_sink_id);
- void RemoveChildFrameSink(const FrameSinkId& child_frame_sink_id);
void RequestCopyOfSurface(std::unique_ptr<CopyOutputRequest> request);
void ForceReclaimResources();
@@ -116,9 +114,6 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
// compositor frame sink.
ReferencedSurfaceTracker reference_tracker_;
- // The set of BeginFrame children of this CompositorFrameSink.
- std::unordered_set<FrameSinkId, FrameSinkIdHash> child_frame_sinks_;
-
const bool is_root_;
// TODO(staraz): Remove this flag once ui::Compositor no longer needs to call
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698