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

Unified Diff: content/renderer/scheduler/renderer_scheduler_impl_unittest.cc

Issue 692483002: Hook up DidReceiveInputEvent to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to fix diff base Created 6 years, 1 month 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: 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,

Powered by Google App Engine
This is Rietveld 408576698