diff options
Diffstat (limited to 'components/scheduler/child/null_worker_scheduler.h')
-rw-r--r-- | components/scheduler/child/null_worker_scheduler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/scheduler/child/null_worker_scheduler.h b/components/scheduler/child/null_worker_scheduler.h index 535fa08..4e0daae 100644 --- a/components/scheduler/child/null_worker_scheduler.h +++ b/components/scheduler/child/null_worker_scheduler.h @@ -14,7 +14,7 @@ class NullWorkerScheduler : public WorkerScheduler { NullWorkerScheduler(); ~NullWorkerScheduler() override; - scoped_refptr<base::SingleThreadTaskRunner> DefaultTaskRunner() override; + scoped_refptr<TaskQueue> DefaultTaskRunner() override; scoped_refptr<SingleThreadIdleTaskRunner> IdleTaskRunner() override; void AddTaskObserver(base::MessageLoop::TaskObserver* task_observer) override; @@ -26,7 +26,7 @@ class NullWorkerScheduler : public WorkerScheduler { void Shutdown() override; private: - scoped_refptr<base::SingleThreadTaskRunner> task_runner_; + scoped_refptr<TaskQueue> task_runner_; scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_; DISALLOW_COPY_AND_ASSIGN(NullWorkerScheduler); |