| Index: cc/test/fake_layer_tree_host_impl.cc
|
| diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
|
| index 5d3b510eababda19910029bcdf8e1aedbb84d3d7..bff8e96bccf09f3666025d77c35c9c775b6fd083 100644
|
| --- a/cc/test/fake_layer_tree_host_impl.cc
|
| +++ b/cc/test/fake_layer_tree_host_impl.cc
|
| @@ -88,7 +88,8 @@ int FakeLayerTreeHostImpl::RecursiveUpdateNumChildren(LayerImpl* layer) {
|
| num_children_that_draw_content +=
|
| RecursiveUpdateNumChildren(layer->children()[i]);
|
| }
|
| - layer->SetNumDescendantsThatDrawContent(num_children_that_draw_content);
|
| + layer->test_properties()->num_descendants_that_draw_content =
|
| + num_children_that_draw_content;
|
| return num_children_that_draw_content + (layer->DrawsContent() ? 1 : 0);
|
| }
|
|
|
|
|