Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 2639723002: [NOT FOR REVIEW]
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/layer_tree_settings_for_testing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 63a32fdb2877fec8cf8e202ddfdc4ffe054b1bae..024ae0b655736fef0249c0d6ba5f903ceae895cb 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -82,20 +82,16 @@ int FakeLayerTreeHostImpl::RecursiveUpdateNumChildren(LayerImpl* layer) {
return num_children_that_draw_content + (layer->DrawsContent() ? 1 : 0);
}
-void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree(
- bool force_skip_verify_visible_rect_calculations) {
- UpdateNumChildrenAndDrawProperties(
- active_tree(), force_skip_verify_visible_rect_calculations);
+void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() {
+ UpdateNumChildrenAndDrawProperties(active_tree());
}
void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties(
- LayerTreeImpl* layerTree,
- bool force_skip_verify_visible_rect_calculations) {
+ LayerTreeImpl* layerTree) {
RecursiveUpdateNumChildren(layerTree->root_layer_for_testing());
bool update_lcd_text = false;
layerTree->BuildLayerListAndPropertyTreesForTesting();
- layerTree->UpdateDrawProperties(update_lcd_text,
- force_skip_verify_visible_rect_calculations);
+ layerTree->UpdateDrawProperties(update_lcd_text);
}
AnimationHost* FakeLayerTreeHostImpl::animation_host() const {
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/layer_tree_settings_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698