| Index: base/task_scheduler/task_tracker.cc
|
| diff --git a/base/task_scheduler/task_tracker.cc b/base/task_scheduler/task_tracker.cc
|
| index fbeecd3dbe8ec7ca1aadb7a083a21eb5ce5c8ae3..07b0d1216db3ab529be9b6b5b754eb132913ae6d 100644
|
| --- a/base/task_scheduler/task_tracker.cc
|
| +++ b/base/task_scheduler/task_tracker.cc
|
| @@ -226,8 +226,8 @@ bool TaskTracker::RunTask(std::unique_ptr<Task> task,
|
| TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN);
|
| const bool previous_io_allowed =
|
| ThreadRestrictions::SetIOAllowed(task->traits.may_block());
|
| - const bool previous_wait_allowed =
|
| - ThreadRestrictions::SetWaitAllowed(task->traits.with_sync_primitives());
|
| + const bool previous_wait_allowed = ThreadRestrictions::SetWaitAllowed(
|
| + task->traits.with_base_sync_primitives());
|
|
|
| {
|
| ScopedSetSequenceTokenForCurrentThread
|
|
|