diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 18:51:47 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 18:51:47 +0000 |
commit | b5ce736e9dc768a1156dd33a906b3ed4bfbd2276 (patch) | |
tree | 596e448d5064142853a64646a78382398f968adc /net/test | |
parent | 96b3760243c36ed846179c18f22b91d4c996fe66 (diff) | |
download | chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.zip chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.tar.gz chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.tar.bz2 |
Clean up users of a deprecated base::LaunchApp API.
BUG=88990
Review URL: http://codereview.chromium.org/7346017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server_posix.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc index 10e5b8b..a3abc69 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; } |