summaryrefslogtreecommitdiff
path: root/chromium/components/viz/service/hit_test/hit_test_aggregator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/viz/service/hit_test/hit_test_aggregator.h')
-rw-r--r--chromium/components/viz/service/hit_test/hit_test_aggregator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/components/viz/service/hit_test/hit_test_aggregator.h b/chromium/components/viz/service/hit_test/hit_test_aggregator.h
index 2b53f958bfd..3d09c6680d4 100644
--- a/chromium/components/viz/service/hit_test/hit_test_aggregator.h
+++ b/chromium/components/viz/service/hit_test/hit_test_aggregator.h
@@ -95,8 +95,10 @@ class VIZ_SERVICE_EXPORT HitTestAggregator {
bool hit_test_debug_ = false;
uint32_t hit_test_debug_ask_regions_ = 0;
- // This is the set of FrameSinkIds referenced in the aggregation so far, used
- // to detect cycles.
+ // This is the set of FrameSinkIds referenced in the aggregation in this tree
+ // chain so far, used to detect cycles. We can have regions that have the
+ // same FrameSinkId, e.g. when ALPHA_SHAPE is set in cc::FilterOperations,
+ // but only at the same hierarchy level.
base::flat_set<FrameSinkId> referenced_child_regions_;
base::flat_map<FrameSinkId, uint64_t> last_active_frame_index_;