| Index: net/test/test_server_posix.cc
|
| diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc
|
| index 10e5b8b8011a5e4492c730c8eb1fb567238031d9..a3abc69efd6aa036e05b8838f096834ae7d5e74b 100644
|
| --- a/net/test/test_server_posix.cc
|
| +++ b/net/test/test_server_posix.cc
|
| @@ -122,10 +122,11 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) {
|
| }
|
|
|
| // Launch a new testserver process.
|
| - if (!base::LaunchApp(python_command.argv(), map_write_fd, false,
|
| - &process_handle_)) {
|
| - LOG(ERROR) << "Failed to launch " << python_command.command_line_string()
|
| - << " ...";
|
| + base::LaunchOptions options;
|
| + options.fds_to_remap = &map_write_fd;
|
| + options.process_handle = &process_handle_;
|
| + if (!base::LaunchProcess(python_command, options)) {
|
| + LOG(ERROR) << "Failed to launch " << python_command.command_line_string();
|
| return false;
|
| }
|
|
|
|
|