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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 2448403002: cc: Clean up transform tree (Closed)
Patch Set: PAC Created 4 years, 2 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/draw_property_utils.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 7f0bf2500360f358be9389dd7c76b20ff61463c9..ecd848bc5af859d82cb2151a4aa3f0667a8d648c 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -412,7 +412,7 @@ static void ComputeInitialRenderSurfaceLayerList(
}
}
bool layer_should_be_drawn = draw_property_utils::LayerNeedsUpdate(
- layer, layer_is_drawn, property_trees->transform_tree);
+ layer, layer_is_drawn, property_trees);
if (!layer_should_be_drawn)
continue;
@@ -649,8 +649,7 @@ void LayerTreeHostCommon::CalculateDrawPropertiesForTesting(
draw_property_utils::UpdatePropertyTrees(property_trees,
can_render_to_separate_surface);
draw_property_utils::FindLayersThatNeedUpdates(
- inputs->root_layer->GetLayerTree(), property_trees->transform_tree,
- property_trees->effect_tree, &update_layer_list);
+ inputs->root_layer->GetLayerTree(), property_trees, &update_layer_list);
}
void LayerTreeHostCommon::CalculateDrawProperties(
« no previous file with comments | « cc/trees/draw_property_utils.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