Index: components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
diff --git a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
index 4ff373f5939680446a0730179455f3c961cd4516..b082e6f68630ce5c76d4a6dd9051a66256c02aba 100644 |
--- a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
+++ b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
@@ -62,6 +62,10 @@ base::TimeTicks SchedulerTqmDelegateForTest::NowTicks() { |
return task_runner_->NowTicks(); |
} |
+double SchedulerTqmDelegateForTest::currentTime() const { |
+ return base::Time::Now().ToDoubleT(); |
+} |
+ |
void SchedulerTqmDelegateForTest::OnNoMoreImmediateWork() {} |
} // namespace scheduler |