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

Unified Diff: cc/test/fake_layer_tree_host.cc

Issue 2080223010: cc: Clean up root_layer code in LTI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase++ Created 4 years, 6 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/layers/video_layer_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host.cc
diff --git a/cc/test/fake_layer_tree_host.cc b/cc/test/fake_layer_tree_host.cc
index 2756987325f569168c0edc4dd904f4adebd2540f..4d214fb9f535a4c73146ff5c2655397855f9ba1d 100644
--- a/cc/test/fake_layer_tree_host.cc
+++ b/cc/test/fake_layer_tree_host.cc
@@ -103,7 +103,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreateLayerImplTree() {
}
active_tree()->UpdatePropertyTreesForBoundsDelta();
- return active_tree()->root_layer();
+ return active_tree()->root_layer_for_testing();
}
LayerImpl* FakeLayerTreeHost::CommitAndCreatePendingTree() {
@@ -114,7 +114,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreatePendingTree() {
animation_host()->PushPropertiesTo(host_impl_.animation_host());
pending_tree()->UpdatePropertyTreeScrollOffset(property_trees());
- return pending_tree()->root_layer();
+ return pending_tree()->root_layer_for_testing();
}
} // namespace cc
« no previous file with comments | « cc/layers/video_layer_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698