Index: chrome/app/chrome_dll_main.cc |
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc |
index 034b82d28758c4b154858659e1fbf4fd5dbc5af3..48fc1cdbf1733724ec12b0ee5747f36783f5aecc 100644 |
--- a/chrome/app/chrome_dll_main.cc |
+++ b/chrome/app/chrome_dll_main.cc |
@@ -442,9 +442,6 @@ DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance, |
#elif defined(OS_POSIX) |
int ChromeMain(int argc, char** argv) { |
#endif |
-#if defined(OS_CHROMEOS) |
- chromeos::BootTimesLoader::Get()->SaveChromeMainStats(); |
-#endif |
#if defined(OS_MACOSX) |
// TODO(mark): Some of these things ought to be handled in chrome_exe_main.mm. |
// Under the current architecture, nothing in chrome_exe_main can rely |
@@ -466,6 +463,10 @@ int ChromeMain(int argc, char** argv) { |
// its main event loop to get rid of the cruft. |
base::ScopedNSAutoreleasePool autorelease_pool; |
+#if defined(OS_CHROMEOS) |
+ chromeos::BootTimesLoader::Get()->SaveChromeMainStats(); |
+#endif |
+ |
#if defined(OS_POSIX) |
base::GlobalDescriptors* g_fds = Singleton<base::GlobalDescriptors>::get(); |
g_fds->Set(kPrimaryIPCChannel, |