diff options
Diffstat (limited to 'chromium/content/browser/browser_process_sub_thread.cc')
-rw-r--r-- | chromium/content/browser/browser_process_sub_thread.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chromium/content/browser/browser_process_sub_thread.cc b/chromium/content/browser/browser_process_sub_thread.cc index 3e4873e4baf..e9d0f68e68d 100644 --- a/chromium/content/browser/browser_process_sub_thread.cc +++ b/chromium/content/browser/browser_process_sub_thread.cc @@ -76,24 +76,6 @@ void BrowserProcessSubThread::AllowBlockingForTesting() { is_blocking_allowed_for_testing_ = true; } -// static -std::unique_ptr<BrowserProcessSubThread> -BrowserProcessSubThread::CreateIOThread() { - TRACE_EVENT0("startup", "BrowserProcessSubThread::CreateIOThread"); - base::Thread::Options options; - options.message_loop_type = base::MessageLoop::TYPE_IO; -#if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(USE_OZONE) - // Up the priority of the |io_thread_| as some of its IPCs relate to - // display tasks. - options.priority = base::ThreadPriority::DISPLAY; -#endif - std::unique_ptr<BrowserProcessSubThread> io_thread( - new BrowserProcessSubThread(BrowserThread::IO)); - if (!io_thread->StartWithOptions(options)) - LOG(FATAL) << "Failed to start BrowserThread:IO"; - return io_thread; -} - void BrowserProcessSubThread::Init() { DCHECK_CALLED_ON_VALID_THREAD(browser_thread_checker_); |