Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: net/test/test_server_posix.cc

Issue 7377012: Change base::LaunchProcess API slightly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server_posix.cc
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc
index a3abc69efd6aa036e05b8838f096834ae7d5e74b..34556948be543ed2fe2dcc9ed6a797742b1f726e 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;
}
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698