diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 16:47:02 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 16:47:02 +0000 |
commit | e599218171e942749da5c8b3931b091655c1b74c (patch) | |
tree | 703ee7f0427e0bafabb1402e678c40c31acec38e /net/test | |
parent | 24ea7da0968595f5365a537fba548e9163f1f371 (diff) | |
download | chromium_src-e599218171e942749da5c8b3931b091655c1b74c.zip chromium_src-e599218171e942749da5c8b3931b091655c1b74c.tar.gz chromium_src-e599218171e942749da5c8b3931b091655c1b74c.tar.bz2 |
Change base::LaunchProcess API slightly
Rather than passing the out param process handle via the options,
take it as a function argument. This simplifies many callers.
BUG=88990
Review URL: http://codereview.chromium.org/7377012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server_posix.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc index a3abc69..3455694 100644 --- a/net/test/test_server_posix.cc +++ b/net/test/test_server_posix.cc @@ -124,8 +124,7 @@ 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)) { + if (!base::LaunchProcess(python_command, options, &process_handle_)) { LOG(ERROR) << "Failed to launch " << python_command.command_line_string(); return false; } |