Index: cc/test/layer_tree_test.cc |
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc |
index 8e2906bfa673241123cb8f8ba7baaf53f209fe88..e581a3da1849b95c4d89115f8c7fd580d2ffe3d3 100644 |
--- a/cc/test/layer_tree_test.cc |
+++ b/cc/test/layer_tree_test.cc |
@@ -524,6 +524,10 @@ void LayerTreeTest::ScheduleComposite() { |
base::Bind(&LayerTreeTest::DispatchComposite, main_thread_weak_ptr_)); |
} |
+void LayerTreeTest::ScheduleAnimation() { |
+ ScheduleComposite(); |
+} |
+ |
void LayerTreeTest::RealEndTest() { |
if (layer_tree_host_ && proxy()->CommitPendingForTesting()) { |
main_task_runner_->PostTask( |
@@ -610,7 +614,7 @@ void LayerTreeTest::DispatchSetNextCommitForcesRedraw() { |
DCHECK(!proxy() || proxy()->IsMainThread()); |
if (layer_tree_host_) |
- layer_tree_host_->SetNextCommitForcesRedraw(); |
+ layer_tree_host_->set_next_commit_forces_redraw(); |
} |
void LayerTreeTest::DispatchComposite() { |