diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-21 01:48:32 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-21 01:48:32 +0000 |
commit | a0b1c513361089833a7b2ecdc5483eff0d944d60 (patch) | |
tree | 5ac22957699f58a2feda8620a420d4ad186507d6 /chrome/browser/browser_process_impl.cc | |
parent | 6d85f696f637775ef241d74b5733d477f52ccbe7 (diff) | |
download | chromium_src-a0b1c513361089833a7b2ecdc5483eff0d944d60.zip chromium_src-a0b1c513361089833a7b2ecdc5483eff0d944d60.tar.gz chromium_src-a0b1c513361089833a7b2ecdc5483eff0d944d60.tar.bz2 |
I managed to break test_shell. Reverting. I'll fix tomorrow.
Reverts r14075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 5b7b6b6..5e1d9f3 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -171,11 +171,6 @@ BrowserProcessImpl::~BrowserProcessImpl() { io_thread_->message_loop()->PostTask(FROM_HERE, NewRunnableFunction(chrome_browser_net::EnsureDnsPrefetchShutdown)); -#if defined(OS_LINUX) - // The IO thread must outlive the BACKGROUND_X11 thread. - background_x11_thread_.reset(); -#endif - // Need to stop io_thread_ before resource_dispatcher_host_, since // io_thread_ may still deref ResourceDispatcherHost and handle resource // request before going away. @@ -289,16 +284,6 @@ void BrowserProcessImpl::CreateIOThread() { // invoke the io_thread() accessor. PluginService::GetInstance(); -#if defined(OS_LINUX) - // The lifetime of the BACKGROUND_X11 thread is a subset of the IO thread so - // we start it now. - scoped_ptr<base::Thread> background_x11_thread( - new BrowserProcessSubThread(ChromeThread::BACKGROUND_X11)); - if (!background_x11_thread->Start()) - return; - background_x11_thread_.swap(background_x11_thread); -#endif - scoped_ptr<base::Thread> thread( new BrowserProcessSubThread(ChromeThread::IO)); base::Thread::Options options; |