Index: chrome/app/chrome_main.cc |
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
index edd4c0d0726f473312d86a8ebb9f41bd3d4b44c0..e6a2051f2ac8fbb7e1ef44fc97c39fa554532e24 100644 |
--- a/chrome/app/chrome_main.cc |
+++ b/chrome/app/chrome_main.cc |
@@ -31,6 +31,7 @@ |
#include "chrome/common/chrome_version_info.h" |
#include "chrome/common/logging_chrome.h" |
#include "chrome/common/main_function_params.h" |
+#include "chrome/common/profiling.h" |
#include "chrome/common/sandbox_init_wrapper.h" |
#include "chrome/common/set_process_title.h" |
#include "chrome/common/url_constants.h" |
@@ -635,6 +636,8 @@ int ChromeMain(int argc, char** argv) { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
+ Profiling::ProcessStarted(); |
+ |
#if defined(OS_POSIX) |
if (HandleVersionSwitches(command_line)) |
return 0; // Got a --version switch; exit with a success error code. |