Index: net/test/local_test_server_posix.cc |
diff --git a/net/test/local_test_server_posix.cc b/net/test/local_test_server_posix.cc |
index 3756b69f4395974dd68a4246a2d105d519ddc501..5202e4a465086ae0b09d381e7420ebdaeea9bd6a 100644 |
--- a/net/test/local_test_server_posix.cc |
+++ b/net/test/local_test_server_posix.cc |
@@ -101,8 +101,7 @@ bool LocalTestServer::LaunchPython(const FilePath& testserver_path) { |
getenv(kPythonPathEnv); |
CommandLine python_command(FilePath(FILE_PATH_LITERAL("python"))); |
- python_command.AppendArgPath(testserver_path); |
- if (!AddCommandLineArguments(&python_command)) |
+ if (!AddCommandLineArguments(testserver_path, &python_command)) |
return false; |
int pipefd[2]; |