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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 2183403002: cc: Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layer_tree_change
Patch Set: Missed one test. Created 4 years, 4 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
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 7024f3a0717c419dc43f318f11e4dd64d51a6f0c..02557e3a2e1b3e7132d60cc7798845da37d4e05e 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -617,7 +617,7 @@ void LayerTreeHostCommon::CalculateDrawPropertiesForTesting(
LayerList update_layer_list;
bool can_render_to_separate_surface = true;
PropertyTrees* property_trees =
- inputs->root_layer->layer_tree_host()->property_trees();
+ inputs->root_layer->GetLayerTree()->property_trees();
Layer* overscroll_elasticity_layer = nullptr;
gfx::Vector2dF elastic_overscroll;
PropertyTreeBuilder::BuildPropertyTrees(
@@ -691,7 +691,7 @@ void LayerTreeHostCommon::CalculateDrawPropertiesForTesting(
}
PropertyTrees* GetPropertyTrees(Layer* layer) {
- return layer->layer_tree_host()->property_trees();
+ return layer->GetLayerTree()->property_trees();
}
PropertyTrees* GetPropertyTrees(LayerImpl* layer) {

Powered by Google App Engine
This is Rietveld 408576698