diff options
Diffstat (limited to 'content/child/scheduler/worker_scheduler_impl.cc')
-rw-r--r-- | content/child/scheduler/worker_scheduler_impl.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/child/scheduler/worker_scheduler_impl.cc b/content/child/scheduler/worker_scheduler_impl.cc index f638868..c22c0c3 100644 --- a/content/child/scheduler/worker_scheduler_impl.cc +++ b/content/child/scheduler/worker_scheduler_impl.cc @@ -75,9 +75,8 @@ void WorkerSchedulerImpl::Shutdown() { helper_.Shutdown(); } -void WorkerSchedulerImpl::SetTimeSourceForTesting( - scoped_refptr<cc::TestNowSource> time_source) { - helper_.SetTimeSourceForTesting(time_source); +SchedulerHelper* WorkerSchedulerImpl::GetSchedulerHelperForTesting() { + return &helper_; } void WorkerSchedulerImpl::SetWorkBatchSizeForTesting(size_t work_batch_size) { |