Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 31eec2621f880e45f1bbba16723b54838ec651b7..94c8ba1649e9e28c790c3577a55d0d633aa24ed8 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1451,6 +1451,10 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
// watch the other threads and they must be running. |
browser_process_->watchdog_thread(); |
+ // Do any initializating in the browser process that requires all threads |
+ // running. |
+ browser_process_->PreMainMessageLoopRun(); |
+ |
#if defined(USE_WEBKIT_COMPOSITOR) |
// We need to ensure WebKit has been initialized before we start the WebKit |
// compositor. This is done by the ResourceDispatcherHost on creation. |