Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 246e16794b4b459d941a1409e88b474f925fcd96..61132b6de302b86898937bb9c25e594cca8b0505 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -2003,6 +2003,9 @@ void ChromeBrowserMainParts::PostMainMessageLoopRun() { |
// Disarm the startup hang detector time bomb if it is still Arm'ed. |
startup_watcher_->Disarm(); |
+ for (size_t i = 0; i < chrome_extra_parts_.size(); ++i) |
+ chrome_extra_parts_[i]->PostMainMessageLoopRun(); |
+ |
#if defined(OS_WIN) |
// If it's the first run, log the search engine chosen. We wait until |
// shutdown because otherwise we can't be sure the user has finished |
@@ -2103,9 +2106,6 @@ void ChromeBrowserMainParts::PostDestroyThreads() { |
// to bypass this code. Perhaps we need a *final* hook that is called on all |
// paths from content/browser/browser_main. |
CHECK(MetricsService::UmaMetricsProperlyShutdown()); |
- |
- for (size_t i = 0; i < chrome_extra_parts_.size(); ++i) |
- chrome_extra_parts_[i]->PostMainMessageLoopRun(); |
} |
// Public members: |