Index: win8/test/metro_registration_helper.cc |
=================================================================== |
--- win8/test/metro_registration_helper.cc (revision 237598) |
+++ win8/test/metro_registration_helper.cc (working copy) |
@@ -54,12 +54,11 @@ |
register_command.AppendArg("/RegServer"); |
base::win::ScopedHandle register_handle; |
- if (base::LaunchProcess(register_command.GetCommandLineString(), |
- base::LaunchOptions(), |
- ®ister_handle)) { |
+ if (base::LaunchProcess(register_command, base::LaunchOptions(), |
+ register_handle.Receive())) { |
int ret = 0; |
if (base::WaitForExitCodeWithTimeout( |
- register_handle.Get(), &ret, |
+ register_handle, &ret, |
base::TimeDelta::FromSeconds(kRegistrationTimeoutSeconds))) { |
if (ret == 0) { |
return true; |