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

Unified Diff: cc/test/fake_layer_tree_host.cc

Issue 2216203002: Refactor MutatorHostClient from LayerTreeHost to LayerTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on another LTH refactor CL. 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/layers/layer_proto_converter.cc ('k') | cc/test/layer_test_common.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 8b885b1a886b5f00a9bd1c0b9afb2c6b701cb346..9f5956a07a34a7db032f3f1c76a079b884342cb0 100644
--- a/cc/test/fake_layer_tree_host.cc
+++ b/cc/test/fake_layer_tree_host.cc
@@ -111,7 +111,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreateLayerImplTree() {
active_tree()->SetPropertyTrees(property_trees());
TreeSynchronizer::PushLayerProperties(root_layer()->GetLayerTree(),
active_tree());
- animation_host()->PushPropertiesTo(host_impl_.animation_host());
+ layer_tree_->animation_host()->PushPropertiesTo(host_impl_.animation_host());
active_tree()->UpdatePropertyTreeScrollOffset(property_trees());
@@ -137,7 +137,7 @@ LayerImpl* FakeLayerTreeHost::CommitAndCreatePendingTree() {
pending_tree()->SetPropertyTrees(property_trees());
TreeSynchronizer::PushLayerProperties(root_layer()->GetLayerTree(),
pending_tree());
- animation_host()->PushPropertiesTo(host_impl_.animation_host());
+ layer_tree_->animation_host()->PushPropertiesTo(host_impl_.animation_host());
pending_tree()->UpdatePropertyTreeScrollOffset(property_trees());
return pending_tree()->root_layer_for_testing();
« no previous file with comments | « cc/layers/layer_proto_converter.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698