diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 21:53:33 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 21:53:33 +0000 |
commit | e53f0d679b2d9e06cf056fa80d8e5175f1ff59e2 (patch) | |
tree | e718f5ab4cd54f0e49cc2a28f4afce9ea20f865d /net/test | |
parent | 8266d6688589e140bf71fb862be16239880e20e6 (diff) | |
download | chromium_src-e53f0d679b2d9e06cf056fa80d8e5175f1ff59e2.zip chromium_src-e53f0d679b2d9e06cf056fa80d8e5175f1ff59e2.tar.gz chromium_src-e53f0d679b2d9e06cf056fa80d8e5175f1ff59e2.tar.bz2 |
Revert "Clean up users of a deprecated base::LaunchApp API."
This reverts commit r92240, ChromeOS failures.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server_posix.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc index a3abc69..10e5b8b 100644 --- a/net/test/test_server_posix.cc +++ b/net/test/test_server_posix.cc @@ -122,11 +122,10 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) { } // Launch a new testserver process. - 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(); + if (!base::LaunchApp(python_command.argv(), map_write_fd, false, + &process_handle_)) { + LOG(ERROR) << "Failed to launch " << python_command.command_line_string() + << " ..."; return false; } |