diff options
Diffstat (limited to 'win8')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc index f6ce0f1..b62319a 100644 --- a/win8/delegate_execute/command_execute_impl.cc +++ b/win8/delegate_execute/command_execute_impl.cc @@ -399,7 +399,7 @@ HRESULT CommandExecuteImpl::LaunchDesktopChrome() { PROCESS_INFORMATION temp_process_info = {}; BOOL ret = CreateProcess(chrome_exe_.value().c_str(), - const_cast<LPWSTR>(command_line.c_str()), + &command_line[0], NULL, NULL, FALSE, 0, NULL, NULL, &start_info_, &temp_process_info); if (ret) { |