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 a0b9f48647e9f531105a5e362565c9c91a06beeb..d8d79567892a23a64bf7a2643617df63f1d62ec8 100644 |
--- a/cc/test/fake_layer_tree_host_impl.cc |
+++ b/cc/test/fake_layer_tree_host_impl.cc |
@@ -104,7 +104,7 @@ void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() { |
void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
LayerTreeImpl* layerTree) { |
- RecursiveUpdateNumChildren(layerTree->root_layer()); |
+ RecursiveUpdateNumChildren(layerTree->root_layer_for_testing()); |
bool update_lcd_text = false; |
layerTree->BuildLayerListAndPropertyTreesForTesting(); |
layerTree->UpdateDrawProperties(update_lcd_text); |