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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2664953004: Do not block in SimpleThread::Start(). (Closed)
Patch Set: CR gab #21 Created 3 years, 10 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 45678d19a939b0bec6864ddc6aca43a1d66fc21f..6a58625c3756a40d61f09b942bcc93a692b45939 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(),
base::ThreadPriority::BACKGROUND);
#endif

Powered by Google App Engine
This is Rietveld 408576698