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

Unified Diff: cc/trees/draw_property_utils.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/test/fake_layer_tree_host.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 98286510f889abfb19387ec41a07af4f20505ce1..a3722d3ac117661d71fd659280ca70c5feaf9c9b 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -1044,6 +1044,16 @@ void BuildPropertyTreesAndComputeVisibleRects(
bool can_render_to_separate_surface,
PropertyTrees* property_trees,
LayerImplList* visible_layer_list) {
+ if (root_layer->layer_tree_impl()->settings().verify_clip_tree_calculations) {
+ bool build_new_clip_tree = true;
+ PropertyTrees* test_property_trees_with_new_clip_tree =
+ root_layer->layer_tree_impl()->test_property_trees_with_new_clip_tree();
+ PropertyTreeBuilder::BuildPropertyTrees(
+ root_layer, page_scale_layer, inner_viewport_scroll_layer,
+ outer_viewport_scroll_layer, overscroll_elasticity_layer,
+ elastic_overscroll, page_scale_factor, device_scale_factor, viewport,
+ device_transform, test_property_trees_with_new_clip_tree, build_new_clip_tree);
+ }
PropertyTreeBuilder::BuildPropertyTrees(
root_layer, page_scale_layer, inner_viewport_scroll_layer,
outer_viewport_scroll_layer, overscroll_elasticity_layer,
« no previous file with comments | « cc/test/fake_layer_tree_host.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698