summaryrefslogtreecommitdiff
path: root/chromium/components/task_scheduler_util/variations_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/task_scheduler_util/variations_util.cc')
-rw-r--r--chromium/components/task_scheduler_util/variations_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/components/task_scheduler_util/variations_util.cc b/chromium/components/task_scheduler_util/variations_util.cc
index 5c2aa320564..7037824d6a2 100644
--- a/chromium/components/task_scheduler_util/variations_util.cc
+++ b/chromium/components/task_scheduler_util/variations_util.cc
@@ -68,9 +68,9 @@ std::unique_ptr<base::SchedulerWorkerPoolParams> GetWorkerPoolParams(
offset),
base::TimeDelta::FromMilliseconds(detach_milliseconds));
- if (params->max_threads() <= 0) {
- DLOG(ERROR) << "Invalid max threads in the Worker Pool Descriptor: "
- << params->max_threads();
+ if (params->max_tasks() <= 0) {
+ DLOG(ERROR) << "Invalid max tasks in the Worker Pool Descriptor: "
+ << params->max_tasks();
return nullptr;
}