Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 3b1f0ec5e6cdd206cf9591a96ec87c19a0f4ca0d..fce7ccbed3ebd8fae94626a23bacb1f39a07f5cd 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -559,9 +559,9 @@ void ChromeMainDelegate::PreSandboxStartup() { |
chrome::ProcessNeedsProfileDir(process_type))); |
} |
- base::StatsCounterTimer stats_counter_timer("Chrome.Init"); |
+ stats_counter_timer_.reset(new base::StatsCounterTimer("Chrome.Init")); |
startup_timer_.reset(new base::StatsScope<base::StatsCounterTimer> |
- (stats_counter_timer)); |
+ (*stats_counter_timer_)); |
// Enable the heap profiler as early as possible! |
EnableHeapProfiler(command_line); |