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 c9a87819eb013865d6d2d073ea25267e1c719445..7db83d492a562d7c7d6d17ff73bc4f90d6033c13 100644 |
--- a/cc/test/fake_layer_tree_host_impl.cc |
+++ b/cc/test/fake_layer_tree_host_impl.cc |
@@ -100,16 +100,20 @@ int FakeLayerTreeHostImpl::RecursiveUpdateNumChildren(LayerImpl* layer) { |
return num_children_that_draw_content + (layer->DrawsContent() ? 1 : 0); |
} |
-void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() { |
- UpdateNumChildrenAndDrawProperties(active_tree()); |
+void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree( |
+ bool force_skip_verify_visible_rect_calculations) { |
+ UpdateNumChildrenAndDrawProperties( |
+ active_tree(), force_skip_verify_visible_rect_calculations); |
} |
void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
- LayerTreeImpl* layerTree) { |
+ LayerTreeImpl* layerTree, |
+ bool force_skip_verify_visible_rect_calculations) { |
RecursiveUpdateNumChildren(layerTree->root_layer_for_testing()); |
bool update_lcd_text = false; |
layerTree->BuildLayerListAndPropertyTreesForTesting(); |
- layerTree->UpdateDrawProperties(update_lcd_text); |
+ layerTree->UpdateDrawProperties(update_lcd_text, |
+ force_skip_verify_visible_rect_calculations); |
} |
} // namespace cc |