| Index: chrome/installer/gcapi/gcapi.cc
|
| diff --git a/chrome/installer/gcapi/gcapi.cc b/chrome/installer/gcapi/gcapi.cc
|
| index 0606988ab836cc22cb9d9bab764fbd865713872e..72539355215df7b66a0444255bb0dd32590e882f 100644
|
| --- a/chrome/installer/gcapi/gcapi.cc
|
| +++ b/chrome/installer/gcapi/gcapi.cc
|
| @@ -503,18 +503,21 @@ BOOL __stdcall LaunchGoogleChrome() {
|
| }
|
| }
|
|
|
| + CommandLine chrome_command(chrome_exe_path);
|
| +
|
| bool ret = false;
|
| ScopedComPtr<IProcessLauncher> ipl;
|
| if (SUCCEEDED(ipl.CreateInstance(__uuidof(ProcessLauncherClass),
|
| NULL,
|
| CLSCTX_LOCAL_SERVER))) {
|
| - if (SUCCEEDED(ipl->LaunchCmdLine(chrome_exe_path.value().c_str())))
|
| + if (SUCCEEDED(ipl->LaunchCmdLine(
|
| + chrome_command.GetCommandLineString().c_str())))
|
| ret = true;
|
| ipl.Release();
|
| } else {
|
| // Couldn't get Omaha's process launcher, Omaha may not be installed at
|
| // system level. Try just running Chrome instead.
|
| - ret = base::LaunchProcess(chrome_exe_path.value(),
|
| + ret = base::LaunchProcess(chrome_command.GetCommandLineString(),
|
| base::LaunchOptions(),
|
| NULL);
|
| }
|
|
|