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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2664953004: Do not block in SimpleThread::Start(). (Closed)
Patch Set: HasBeenStarted() Created 3 years, 11 months 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
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 9212ebcd8b77c33b87024987ee420453d3fa65b8..cdd7d729f00080616606414514703792920e0730 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -888,7 +888,7 @@ void RenderThreadImpl::Init(
#if defined(OS_LINUX)
ChildProcess::current()->SetIOThreadPriority(base::ThreadPriority::DISPLAY);
ChildThreadImpl::current()->SetThreadPriority(
- categorized_worker_pool_->background_worker_thread_id(),
+ categorized_worker_pool_->GetBackgroundWorkerThreadId(),
gab 2017/02/06 20:29:11 need to allow wait?
fdoray 2017/02/06 20:46:48 Already allowed on all renderer threads.
base::ThreadPriority::BACKGROUND);
#endif

Powered by Google App Engine
This is Rietveld 408576698