| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index b8474b68268ece83f4109d2bb7371ab04547ee8c..c1ab69baa8fefd2271cb313e901a640ab4811520 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -815,10 +815,12 @@ sandbox::ResultCode StartSandboxedProcess(
|
| }
|
| }
|
|
|
| +#if !defined(OFFICIAL_BUILD)
|
| // If stdout/stderr point to a Windows console, these calls will
|
| // have no effect. These calls can fail with SBOX_ERROR_BAD_PARAMS.
|
| policy->SetStdoutHandle(GetStdHandle(STD_OUTPUT_HANDLE));
|
| policy->SetStderrHandle(GetStdHandle(STD_ERROR_HANDLE));
|
| +#endif
|
|
|
| if (!delegate->PreSpawnTarget(policy.get()))
|
| return sandbox::SBOX_ERROR_DELEGATE_PRE_SPAWN;
|
|
|