summaryrefslogtreecommitdiffstats
path: root/base/perf_test_suite.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/perf_test_suite.h')
-rw-r--r--base/perf_test_suite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/perf_test_suite.h b/base/perf_test_suite.h
index 444a099..ea6846a 100644
--- a/base/perf_test_suite.h
+++ b/base/perf_test_suite.h
@@ -23,7 +23,8 @@ class PerfTestSuite : public TestSuite {
// Initialize the perf timer log
FilePath log_path;
- std::wstring log_file = CommandLine().GetSwitchValue(L"log-file");
+ std::wstring log_file =
+ CommandLine::ForCurrentProcess()->GetSwitchValue(L"log-file");
if (log_file.empty()) {
FilePath exe;
PathService::Get(base::FILE_EXE, &exe);