| Index: chrome/test/automated_ui_tests/automated_ui_tests.cc
|
| ===================================================================
|
| --- chrome/test/automated_ui_tests/automated_ui_tests.cc (revision 31829)
|
| +++ chrome/test/automated_ui_tests/automated_ui_tests.cc (working copy)
|
| @@ -73,8 +73,7 @@
|
| 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 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);
|
| }
|
|
|