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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 2609243003: [NOT FOR REVIEW]
Patch Set: Created 3 years, 12 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/trees/layer_tree.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index 8fcfccb40fc134d241b735e252a32bc00f60c940..66cd5f0bf2eff1783d12a8f7854443ca39d17dfc 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -580,6 +580,16 @@ void LayerTreeHostCommon::CalculateDrawPropertiesForTesting(
inputs->root_layer->GetLayerTree()->property_trees();
Layer* overscroll_elasticity_layer = nullptr;
gfx::Vector2dF elastic_overscroll;
+ PropertyTrees* test_property_trees_with_new_clip_tree =
+ inputs->root_layer->GetLayerTree()->test_property_trees_with_new_clip_tree();
+ bool build_new_property_trees = true;
+ PropertyTreeBuilder::BuildPropertyTrees(
+ inputs->root_layer, inputs->page_scale_layer,
+ inputs->inner_viewport_scroll_layer, inputs->outer_viewport_scroll_layer,
+ overscroll_elasticity_layer, elastic_overscroll,
+ inputs->page_scale_factor, inputs->device_scale_factor,
+ gfx::Rect(inputs->device_viewport_size), inputs->device_transform,
+ test_property_trees_with_new_clip_tree, build_new_property_trees);
PropertyTreeBuilder::BuildPropertyTrees(
inputs->root_layer, inputs->page_scale_layer,
inputs->inner_viewport_scroll_layer, inputs->outer_viewport_scroll_layer,
« no previous file with comments | « cc/trees/layer_tree.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698