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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2517443002: 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 | « content/public/test/browser_test_base.cc ('k') | content/renderer/render_thread_impl_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index f656eadca32efa2b3bca62d08834adaf94f94b08..d569350255fc98759f0de7ce89f7cd3374f98c42 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -30,7 +30,6 @@
#include "base/strings/string_split.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
-#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/simple_thread.h"
#include "base/threading/thread_local.h"
#include "base/threading/thread_restrictions.h"
@@ -903,13 +902,6 @@
is_renderer_suspended_ = false;
base::MemoryCoordinatorClientRegistry::GetInstance()->Register(this);
-
- // If this renderer doesn't run inside the browser process, enable
- // SequencedWorkerPool. Otherwise, it should already have been enabled.
- // TODO(fdoray): Remove this once the SequencedWorkerPool to TaskScheduler
- // redirection experiment concludes https://crbug.com/622400.
- if (!command_line.HasSwitch(switches::kSingleProcess))
- base::SequencedWorkerPool::EnableForProcess();
}
RenderThreadImpl::~RenderThreadImpl() {
« no previous file with comments | « content/public/test/browser_test_base.cc ('k') | content/renderer/render_thread_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698