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

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: Fixes according to code review. 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/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 9d3ae6fd2eb717d3f3a5d9733e916074ef4efca9..72dd6f093556b9a52520b2a020943fe9bfa16125 100644
--- a/cc/test/fake_layer_tree_host.cc
+++ b/cc/test/fake_layer_tree_host.cc
@@ -92,7 +92,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());
@@ -114,7 +114,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();

Powered by Google App Engine
This is Rietveld 408576698