Index: net/test/test_server_win.cc |
diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc |
index 9fc13cd3efcd193857ec3ceac21b5f09cf545737..96c899e41cf4141320cacfe04d81ccf6337ce9ba 100644 |
--- a/net/test/test_server_win.cc |
+++ b/net/test/test_server_win.cc |
@@ -176,8 +176,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) { |
// safe to truncate the handle (when passing it from 64-bit to |
// 32-bit) or sign-extend the handle (when passing it from 32-bit to |
// 64-bit)." |
- python_command.AppendSwitchASCII( |
- "startup-pipe", |
+ python_command.AppendArg("--startup-pipe=" + |
base::IntToString(reinterpret_cast<uintptr_t>(child_write))); |
if (!LaunchTestServerAsJob(python_command, |