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

Unified Diff: cc/debug/invalidation_benchmark.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: .. Created 4 years, 5 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 | « no previous file | cc/layers/layer.cc » ('j') | cc/trees/layer_tree_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/invalidation_benchmark.cc
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
index 681e29ef7cced1b62c1f9303d22c0c26df7494af..2630ea6457dac56718c5b1dcb52ddf734a7c6d2e 100644
--- a/cc/debug/invalidation_benchmark.cc
+++ b/cc/debug/invalidation_benchmark.cc
@@ -69,7 +69,7 @@ void InvalidationBenchmark::DidUpdateLayers(LayerTreeHost* host) {
}
void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) {
- PropertyTrees* property_trees = layer->layer_tree_host()->property_trees();
+ PropertyTrees* property_trees = layer->GetLayerTree()->property_trees();
LayerList update_list;
update_list.push_back(layer);
draw_property_utils::ComputeVisibleRectsForTesting(
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | cc/trees/layer_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698