summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index bc9f4a3..8d2c141 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -457,7 +457,8 @@ int ChromeMain(int argc, char** argv) {
// of the process. It is not cleaned up.
// TODO(port): we probably need to shut this down correctly to avoid
// leaking shared memory regions on posix platforms.
- if (parsed_command_line.HasSwitch(switches::kEnableStatsTable)) {
+ if (parsed_command_line.HasSwitch(switches::kEnableStatsTable) ||
+ parsed_command_line.HasSwitch(switches::kEnableBenchmarking)) {
std::string statsfile = StringPrintf("%s-%lld", chrome::kStatsFilename,
static_cast<int64>(browser_pid));
StatsTable *stats_table = new StatsTable(statsfile,