Chromium Code Reviews| Index: remoting/host/win/wts_session_process_delegate.cc |
| diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc |
| index d5d9f58c89b108afc4084b64559ce37a23f7e5b9..abb409aa2710c1f5fc8a124163a525825f963fad 100644 |
| --- a/remoting/host/win/wts_session_process_delegate.cc |
| +++ b/remoting/host/win/wts_session_process_delegate.cc |
| @@ -414,16 +414,12 @@ void WtsSessionProcessDelegate::Core::DoLaunchProcess() { |
| // Try to launch the process. |
| ScopedHandle worker_process; |
| ScopedHandle worker_thread; |
| - if (!LaunchProcessWithToken(command_line.GetProgram(), |
| - command_line.GetCommandLineString(), |
| - session_token_.Get(), |
| - security_attributes.get(), |
| - nullptr, |
| - false, |
| - CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB, |
| - base::UTF8ToUTF16(kDefaultDesktopName).c_str(), |
| - &worker_process, |
| - &worker_thread)) { |
| + if (!LaunchProcessWithToken( |
| + command_line.GetProgram(), command_line.GetCommandLineString(), |
| + session_token_.Get(), security_attributes.get(), nullptr, {}, |
|
joedow
2016/10/20 17:40:04
add some comments for the hard-coded params like /
Sam McNally
2016/10/20 22:40:22
Done.
|
| + CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB, |
| + base::UTF8ToUTF16(kDefaultDesktopName).c_str(), &worker_process, |
| + &worker_thread)) { |
| ReportFatalError(); |
| return; |
| } |