Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 54dc7bbd336bc73f606cdad27254392eed83b148..8d5bd8e37f2028425b4ac12acceabc12730a81ed 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1635,6 +1635,11 @@ CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const { |
surface_layer_impl->primary_surface_info().id()); |
} |
} |
+ |
+ for (auto* surface_id : *active_tree_->HiddenSurfaceLayerIds()) { |
+ metadata.referenced_surfaces.push_back(*surface_id); |
+ } |
+ |
if (!InnerViewportScrollLayer()) |
return metadata; |