summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 19:42:33 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 19:42:33 +0000
commit91451171aa98b6e44238517f39fc58a86028d75d (patch)
treea67533d2bffddf114314e8e7235a5591c21233b7 /chrome/browser/browser_main.cc
parent3a4f359fc1413e816423d137e7dc67abd8db5921 (diff)
downloadchromium_src-91451171aa98b6e44238517f39fc58a86028d75d.zip
chromium_src-91451171aa98b6e44238517f39fc58a86028d75d.tar.gz
chromium_src-91451171aa98b6e44238517f39fc58a86028d75d.tar.bz2
Fix bug when accessing g_browser_process->broker_services() at shutdown.
BUG=28501 Review URL: http://codereview.chromium.org/435001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 53274e2..6ede0da 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -356,7 +356,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
bool is_first_run = FirstRun::IsChromeFirstRun() ||
parsed_command_line.HasSwitch(switches::kFirstRun);
- scoped_ptr<BrowserProcess> browser_process;
+ scoped_ptr<BrowserProcessImpl> browser_process;
if (parsed_command_line.HasSwitch(switches::kImport)) {
// We use different BrowserProcess when importing so no GoogleURLTracker is
// instantiated (as it makes a URLRequest and we don't have an IO thread,
@@ -633,6 +633,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
// Note: must be done before FirstRun code is started.
browser_process->db_thread();
browser_process->file_thread();
+ browser_process->process_launcher_thread();
browser_process->io_thread();
// Importing other browser settings is done in a browser-like process