Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: components/task_scheduler_util/initialization_util.cc

Issue 2519543002: Revert of Disallow posting tasks to SequencedWorkerPools by default. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/service_process.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/task_scheduler_util/initialization_util.cc
diff --git a/components/task_scheduler_util/initialization_util.cc b/components/task_scheduler_util/initialization_util.cc
index 967acef935f784591bcebcbbd17b1c2e6693c5ea..8893d47dd86188c4426978a192a62992bc618c18 100644
--- a/components/task_scheduler_util/initialization_util.cc
+++ b/components/task_scheduler_util/initialization_util.cc
@@ -194,9 +194,7 @@
switches::kDisableBrowserTaskScheduler) &&
sequenced_worker_pool_param != variation_params.end() &&
sequenced_worker_pool_param->second == "true") {
- base::SequencedWorkerPool::EnableWithRedirectionToTaskSchedulerForProcess();
- } else {
- base::SequencedWorkerPool::EnableForProcess();
+ base::SequencedWorkerPool::RedirectToTaskSchedulerForProcess();
}
}
« no previous file with comments | « chrome/service/service_process.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698