diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 3 | ||||
-rw-r--r-- | chrome/browser/browser_process_impl.h | 4 |
2 files changed, 1 insertions, 6 deletions
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 |