Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4018)

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 11260033: Fix --enable-stats-table crash on Release builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/chrome_main_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/app/chrome_main_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698