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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2557853002: cc: Unregister FrameSink hierarchy on CompositorFrameSinkSupport destruction (Closed)
Patch Set: Created 4 years 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 | « no previous file | 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 1d89554e025567337fc70b2f21464bccc4c1b434..239e19425de25b514d68301b707a1e33837b85f0 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -94,6 +94,9 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
// Whether or not a frame observer has been added.
bool added_frame_observer_ = false;
+ // The set of BeginFrame children of this CompositorFrameSink.
+ std::unordered_set<FrameSinkId, FrameSinkIdHash> child_frame_sinks_;
+
base::WeakPtrFactory<CompositorFrameSinkSupport> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(CompositorFrameSinkSupport);
« no previous file with comments | « no previous file | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698