diff options
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server_posix.cc | 2 | ||||
-rw-r--r-- | net/test/test_server_win.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc index 3455694..2efc54f 100644 --- a/net/test/test_server_posix.cc +++ b/net/test/test_server_posix.cc @@ -125,7 +125,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) { base::LaunchOptions options; options.fds_to_remap = &map_write_fd; if (!base::LaunchProcess(python_command, options, &process_handle_)) { - LOG(ERROR) << "Failed to launch " << python_command.command_line_string(); + LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString(); return false; } diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc index 96c899e..b01da32 100644 --- a/net/test/test_server_win.cc +++ b/net/test/test_server_win.cc @@ -38,7 +38,7 @@ bool LaunchTestServerAsJob(const CommandLine& cmdline, // automatically associated with a job object created by the debugger. // The CREATE_BREAKAWAY_FROM_JOB flag is used to prevent this. if (!CreateProcess( - NULL, const_cast<wchar_t*>(cmdline.command_line_string().c_str()), + NULL, const_cast<wchar_t*>(cmdline.GetCommandLineString().c_str()), NULL, NULL, TRUE, CREATE_BREAKAWAY_FROM_JOB, NULL, NULL, &startup_info, &process_info)) { LOG(ERROR) << "Could not create process."; @@ -183,7 +183,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) { true, &process_handle_, &job_handle_)) { - LOG(ERROR) << "Failed to launch " << python_command.command_line_string(); + LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString(); return false; } |