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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 2253143002: Revert of cc: Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layer_tree_change
Patch Set: 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_video.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree_builder.cc
diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
index 4e78c1a1164ec020c5b7197a6619b74af0f381f3..b1a33d69e38866effd23650e3557a03cced75254 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -101,7 +101,7 @@
}
static bool IsMetaInformationRecomputationNeeded(Layer* layer) {
- return layer->GetLayerTree()->needs_meta_info_recomputation();
+ return layer->layer_tree_host()->needs_meta_info_recomputation();
}
// Recursively walks the layer tree(if needed) to compute any information
@@ -135,7 +135,7 @@
recursive_data->num_unclipped_descendants);
if (IsRootLayer(layer))
- layer->GetLayerTree()->SetNeedsMetaInfoRecomputation(false);
+ layer->layer_tree_host()->SetNeedsMetaInfoRecomputation(false);
}
static void PreCalculateMetaInformationInternalForTesting(
@@ -1419,7 +1419,7 @@
root_layer->layer_tree_host()
->settings()
.verify_transform_tree_calculations;
- SkColor color = root_layer->GetLayerTree()->background_color();
+ SkColor color = root_layer->layer_tree_host()->background_color();
if (SkColorGetA(color) != 255)
color = SkColorSetA(color, 255);
BuildPropertyTreesTopLevelInternal(
« no previous file with comments | « cc/trees/layer_tree_host_unittest_video.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698