Index: net/test/spawned_test_server/local_test_server_posix.cc |
diff --git a/net/test/spawned_test_server/local_test_server_posix.cc b/net/test/spawned_test_server/local_test_server_posix.cc |
index 0edbedf1e42b8f120ab7793e1dc303a351c6fa31..c770152ea6bc44c407c444cd5eb9709d68763fa3 100644 |
--- a/net/test/spawned_test_server/local_test_server_posix.cc |
+++ b/net/test/spawned_test_server/local_test_server_posix.cc |
@@ -139,7 +139,8 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) { |
base::LaunchOptions options; |
options.fds_to_remap = &map_write_fd; |
- if (!base::LaunchProcess(python_command, options, &process_handle_)) { |
+ process_ = base::LaunchProcess(python_command, options); |
+ if (!process_.IsValid()) { |
LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString(); |
return false; |
} |