From 753efc479384c254e263fd11390846a060fa6ce0 Mon Sep 17 00:00:00 2001 From: "pvalchev@google.com" Date: Tue, 9 Mar 2010 19:52:16 +0000 Subject: BSD ifdefs, etc. necessary for chrome/ Review URL: http://codereview.chromium.org/656009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41067 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_process_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/browser_process_impl.cc') diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index c510336..9e9e1b0 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -136,7 +136,7 @@ BrowserProcessImpl::~BrowserProcessImpl() { resource_dispatcher_host()->Shutdown(); } -#if defined(OS_LINUX) +#if defined(USE_X11) // The IO thread must outlive the BACKGROUND_X11 thread. background_x11_thread_.reset(); #endif @@ -304,7 +304,7 @@ void BrowserProcessImpl::CreateIOThread() { // invoke the io_thread() accessor. PluginService::GetInstance(); -#if defined(OS_LINUX) +#if defined(USE_X11) // The lifetime of the BACKGROUND_X11 thread is a subset of the IO thread so // we start it now. scoped_ptr background_x11_thread( -- cgit v1.1