Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index de683f838311e4290aae25404994f1ac047e2633..4a429d7a009781838aa1b76a9a3d79dafa0c1a4c 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -3485,7 +3485,13 @@ TEST_F(LayerTreeHostImplTest, ActivationDependenciesInMetadata) { |
root->test_properties()->AddChild(std::move(child)); |
} |
+ base::flat_set<SurfaceId> fallback_surfaces_set; |
+ for (size_t i = 0; i < fallback_surfaces.size(); ++i) { |
+ fallback_surfaces_set.insert(fallback_surfaces[i]); |
+ } |
+ |
host_impl_->active_tree()->BuildPropertyTreesForTesting(); |
+ host_impl_->active_tree()->SetSurfaceLayerIds(fallback_surfaces_set); |
DrawFrame(); |
FakeCompositorFrameSink* fake_compositor_frame_sink = |