diff options
Diffstat (limited to 'chrome/test/automated_ui_tests')
-rw-r--r-- | chrome/test/automated_ui_tests/automated_ui_tests.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc index b4c8c29..ae7df5d 100644 --- a/chrome/test/automated_ui_tests/automated_ui_tests.cc +++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc @@ -73,8 +73,7 @@ void SilentRuntimeReportHandler(const std::string& str) { FilePath GetInputFilePath() { const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); if (parsed_command_line.HasSwitch(kInputFilePathSwitch)) { - return FilePath::FromWStringHack( - parsed_command_line.GetSwitchValue(kInputFilePathSwitch)); + return parsed_command_line.GetSwitchValuePath(kInputFilePathSwitch); } else { return FilePath(kDefaultInputFilePath); } @@ -83,8 +82,7 @@ FilePath GetInputFilePath() { FilePath GetOutputFilePath() { const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); if (parsed_command_line.HasSwitch(kOutputFilePathSwitch)) { - return FilePath::FromWStringHack( - parsed_command_line.GetSwitchValue(kOutputFilePathSwitch)); + return parsed_command_line.GetSwitchValuePath(kOutputFilePathSwitch); } else { return FilePath(kDefaultOutputFilePath); } |