summaryrefslogtreecommitdiffstats
path: root/cc/trees/damage_tracker_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/damage_tracker_unittest.cc')
-rw-r--r--cc/trees/damage_tracker_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc
index 169eea4..b6a4409 100644
--- a/cc/trees/damage_tracker_unittest.cc
+++ b/cc/trees/damage_tracker_unittest.cc
@@ -30,6 +30,7 @@ void ExecuteCalculateDrawProperties(LayerImpl* root,
ASSERT_TRUE(root->render_surface());
ASSERT_FALSE(render_surface_layer_list->size());
+ FakeLayerTreeHostImpl::RecursiveUpdateNumChildren(root);
LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting inputs(
root, root->bounds(), render_surface_layer_list);
LayerTreeHostCommon::CalculateDrawProperties(&inputs);