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

Unified Diff: cc/trees/layer_tree_host_unittest_occlusion.cc

Issue 2251143002: cc: Reland Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix? 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_unittest_occlusion.cc
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc
index fea056ef111a5f8024dd7dcdade390a2414c687e..a85bca21a73163d2dd48cb5afff892ac7f5a7aee 100644
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc
@@ -41,7 +41,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnLayer
child_->SetIsDrawable(true);
root->AddChild(child_);
- layer_tree_host()->SetRootLayer(root);
+ layer_tree()->SetRootLayer(root);
LayerTreeTest::SetupTree();
}
@@ -97,7 +97,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnSurface
child2->SetIsDrawable(true);
root->AddChild(child2);
- layer_tree_host()->SetRootLayer(root);
+ layer_tree()->SetRootLayer(root);
LayerTreeTest::SetupTree();
}
@@ -163,7 +163,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnMask
child2->SetIsDrawable(true);
root->AddChild(child2);
- layer_tree_host()->SetRootLayer(root);
+ layer_tree()->SetRootLayer(root);
LayerTreeTest::SetupTree();
client_.set_bounds(root->bounds());
}
@@ -236,7 +236,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnScaledMask
child2->SetIsDrawable(true);
root->AddChild(child2);
- layer_tree_host()->SetRootLayer(root);
+ layer_tree()->SetRootLayer(root);
LayerTreeTest::SetupTree();
client_.set_bounds(root->bounds());
}
@@ -304,7 +304,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesInsideReplica
child2->SetIsDrawable(true);
root->AddChild(child2);
- layer_tree_host()->SetRootLayer(root);
+ layer_tree()->SetRootLayer(root);
LayerTreeTest::SetupTree();
client_.set_bounds(root->bounds());
}

Powered by Google App Engine
This is Rietveld 408576698