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

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: remove unused test file. 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 6306cc247c2b06e809df14b9499d84015ab0c6ed..db312aee83adf04f76aed84ab00beebbe48b57d6 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -641,7 +641,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(
@@ -715,7 +715,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