From 308080d87a95c52543aef3724fae7e536f221d6c Mon Sep 17 00:00:00 2001 From: "apavlov@chromium.org" Date: Wed, 11 Nov 2009 19:19:02 +0000 Subject: Revert r31665: themed mac startup time regression BUG=none TEST=none TBR=yurys@chromium.org Review URL: http://codereview.chromium.org/387027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31685 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_process_impl.cc | 3 +-- chrome/browser/browser_process_impl.h | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'chrome') diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index f3bd06b..05d4299 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -502,6 +502,5 @@ void BrowserProcessImpl::DoInspectorFilesCheck() { result = file_util::PathExists(inspector_dir); } - ChromeThread::PostTask(ChromeThread::UI, FROM_HERE, NewRunnableMethod( - this, &BrowserProcessImpl::set_have_inspector_files, result)); + have_inspector_files_ = result; } diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h index 13ffeb0..ea9efb4 100644 --- a/chrome/browser/browser_process_impl.h +++ b/chrome/browser/browser_process_impl.h @@ -200,10 +200,6 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { return have_inspector_files_; } - void set_have_inspector_files(bool have_inspector_files) { - have_inspector_files_ = have_inspector_files; - } - #if defined(IPC_MESSAGE_LOG_ENABLED) virtual void SetIPCLoggingEnabled(bool enable); #endif -- cgit v1.1