Index: content/child/child_process.cc |
diff --git a/content/child/child_process.cc b/content/child/child_process.cc |
index 9805c062f55c1872eb540abc0a029d8e32a72775..c0792b20792f1547fb4335e170a5a7b240d6511f 100644 |
--- a/content/child/child_process.cc |
+++ b/content/child/child_process.cc |
@@ -103,6 +103,12 @@ void ChildProcess::ReleaseProcess() { |
main_thread_->OnProcessFinalRelease(); |
} |
+void ChildProcess::SetIOThreadAffinity( |
+ base::ThreadPriority io_thread_priority) { |
+ DCHECK(main_thread_.get()); |
+ main_thread_->SetThreadAffinity(io_thread_.GetThreadId(), io_thread_priority); |
+} |
+ |
ChildProcess* ChildProcess::current() { |
return g_lazy_tls.Pointer()->Get(); |
} |