Index: base/task_scheduler/task_scheduler_impl.cc |
diff --git a/base/task_scheduler/task_scheduler_impl.cc b/base/task_scheduler/task_scheduler_impl.cc |
index 0b22c84619d95292bf4cb37e9e64a84c6e534bd5..b1b2d36c11696d280c43387a4f209c767f2bb706 100644 |
--- a/base/task_scheduler/task_scheduler_impl.cc |
+++ b/base/task_scheduler/task_scheduler_impl.cc |
@@ -142,7 +142,8 @@ TaskSchedulerImpl::CreateSequencedTaskRunnerWithTraits( |
scoped_refptr<SingleThreadTaskRunner> |
TaskSchedulerImpl::CreateSingleThreadTaskRunnerWithTraits( |
- const TaskTraits& traits) { |
+ const TaskTraits& traits, |
+ SingleThreadTaskRunnerThreadMode thread_mode) { |
const auto& environment_params = |
kEnvironmentParams[GetEnvironmentIndexForTraits(traits)]; |
return single_thread_task_runner_manager_ |
@@ -153,7 +154,9 @@ TaskSchedulerImpl::CreateSingleThreadTaskRunnerWithTraits( |
#if defined(OS_WIN) |
scoped_refptr<SingleThreadTaskRunner> |
-TaskSchedulerImpl::CreateCOMSTATaskRunnerWithTraits(const TaskTraits& traits) { |
+TaskSchedulerImpl::CreateCOMSTATaskRunnerWithTraits( |
+ const TaskTraits& traits, |
+ SingleThreadTaskRunnerThreadMode thread_mode) { |
const auto& environment_params = |
kEnvironmentParams[GetEnvironmentIndexForTraits(traits)]; |
return single_thread_task_runner_manager_.CreateCOMSTATaskRunnerWithTraits( |