Index: content/renderer/scheduler/renderer_scheduler_impl_unittest.cc |
diff --git a/content/renderer/scheduler/renderer_scheduler_impl_unittest.cc b/content/renderer/scheduler/renderer_scheduler_impl_unittest.cc |
index bbdada99bd8c4cfca2bdddf0ed46a18da33f7bbf..7b8c79f30092119ee6613b370e2ab92a85922e49 100644 |
--- a/content/renderer/scheduler/renderer_scheduler_impl_unittest.cc |
+++ b/content/renderer/scheduler/renderer_scheduler_impl_unittest.cc |
@@ -239,7 +239,7 @@ TEST_F(RendererSchedulerImplTest, TestDefaultPolicy) { |
std::string("I1"))); |
} |
-TEST_F(RendererSchedulerImplTest, TestCompositorPolicy) { |
+TEST_F(RendererSchedulerImplTest, TestCompositorPolicy_DidAnimate) { |
rmcilroy
2014/11/06 00:53:16
I don't think we need to add _DidAnimate here.
alex clarke (OOO till 29th)
2014/11/06 19:21:45
It kind of is, I didn't intend to delete the origi
|
std::vector<std::string> order; |
idle_task_runner_->PostIdleTask( |
@@ -258,7 +258,7 @@ TEST_F(RendererSchedulerImplTest, TestCompositorPolicy) { |
FROM_HERE, |
base::Bind(&AppendToVectorTestTask, &order, std::string("C2"))); |
- scheduler_->DidReceiveInputEvent(); |
+ scheduler_->DidAnimate(); |
rmcilroy
2014/11/06 00:53:17
Please keep the DidReceiveInputEvent() compositor
alex clarke (OOO till 29th)
2014/11/06 19:21:45
Done.
|
EnableIdleTasks(); |
RunUntilIdle(); |
EXPECT_THAT(order, |