| Index: chrome_frame/ready_mode/internal/registry_ready_mode_state.cc
|
| ===================================================================
|
| --- chrome_frame/ready_mode/internal/registry_ready_mode_state.cc (revision 102100)
|
| +++ chrome_frame/ready_mode/internal/registry_ready_mode_state.cc (working copy)
|
| @@ -59,10 +59,9 @@
|
| HANDLE LaunchCommandViaProcessLauncher(const std::wstring& command_field) {
|
| HANDLE launched_process = NULL;
|
|
|
| - scoped_ptr<CommandLine> command_line(
|
| - chrome_launcher::CreateUpdateCommandLine(command_field));
|
| -
|
| - if (command_line != NULL) {
|
| + scoped_ptr<CommandLine> command_line;
|
| + if (chrome_launcher::CreateUpdateCommandLine(command_field, &command_line)) {
|
| + DCHECK(command_line != NULL);
|
| base::LaunchOptions options;
|
| options.start_hidden = true;
|
| base::LaunchProcess(*command_line, options, &launched_process);
|
|
|