Index: net/test/spawned_test_server/local_test_server_win.cc |
diff --git a/net/test/spawned_test_server/local_test_server_win.cc b/net/test/spawned_test_server/local_test_server_win.cc |
index 412e4e10c800bc8b32e5c9d706b857594df68317..5eb5aafe91b720d3304c1b0d66eb983fb025fb93 100644 |
--- a/net/test/spawned_test_server/local_test_server_win.cc |
+++ b/net/test/spawned_test_server/local_test_server_win.cc |
@@ -176,7 +176,8 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) { |
base::LaunchOptions launch_options; |
launch_options.inherit_handles = true; |
- if (!base::LaunchProcess(python_command, launch_options, &process_handle_)) { |
+ process_ = base::LaunchProcess(python_command, launch_options); |
+ if (!process_.IsValid()) { |
LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString(); |
return false; |
} |