| Index: base/task_scheduler/task_tracker.cc
|
| diff --git a/base/task_scheduler/task_tracker.cc b/base/task_scheduler/task_tracker.cc
|
| index 7de82bfb88dfcbd2f64bd92d1594331dcfe30a09..5e61ffd107fa4150711b6bef92dc8c6468168564 100644
|
| --- a/base/task_scheduler/task_tracker.cc
|
| +++ b/base/task_scheduler/task_tracker.cc
|
| @@ -192,7 +192,7 @@ void TaskTracker::RunNextTaskInSequence(const Sequence* sequence) {
|
| // All tasks run through here and the scheduler itself doesn't use singletons.
|
| // Therefore, it isn't necessary to reset the singleton allowed bit after
|
| // running the task.
|
| - ThreadRestrictions::SetSingletonAllowed(
|
| + ThreadRestrictions::SetIOAllowed(
|
| task->traits.shutdown_behavior() !=
|
| TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN);
|
|
|
|
|