| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index bf52c336b8ed3738e814ef2e74f0cfe0ed39b906..4719a0e9121a38d89d30d8a1dae7bd99a149d51c 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -745,11 +745,7 @@ sandbox::ResultCode StartSandboxedProcess(
|
| browser_command_line.HasSwitch(switches::kNoSandbox) ||
|
| cmd_line->HasSwitch(switches::kNoSandbox)) {
|
| base::LaunchOptions options;
|
| - base::HandlesToInheritVector handles = handles_to_inherit;
|
| - if (!handles_to_inherit.empty()) {
|
| - options.inherit_handles = true;
|
| - options.handles_to_inherit = &handles;
|
| - }
|
| + options.handles_to_inherit = handles_to_inherit;
|
| *process = base::LaunchProcess(*cmd_line, options);
|
| return sandbox::SBOX_ALL_OK;
|
| }
|
|
|