summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 03:03:28 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 03:03:28 +0000
commit2de598b469700a05b79e866d21cdc419cbcb820f (patch)
treefa9e12af617fc24e423c6c99b0ff19d45f8f6904 /sandbox
parentf738bbcf5a4589036362a21710e67f9ce111b792 (diff)
downloadchromium_src-2de598b469700a05b79e866d21cdc419cbcb820f.zip
chromium_src-2de598b469700a05b79e866d21cdc419cbcb820f.tar.gz
chromium_src-2de598b469700a05b79e866d21cdc419cbcb820f.tar.bz2
Revert 62205 - Make writing to stdout and stderr work in Chrome processes when inherited
handles are available. Don't create a console, just attach to any existing console. R=cpu BUG=none TEST=none Review URL: http://codereview.chromium.org/3574008 Reverting because it breaks browser_tests logging TBR=darin@chromium.org Review URL: http://codereview.chromium.org/3691005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/src/target_process.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sandbox/src/target_process.cc b/sandbox/src/target_process.cc
index f0a40bd..a9848c5 100644
--- a/sandbox/src/target_process.cc
+++ b/sandbox/src/target_process.cc
@@ -136,11 +136,6 @@ DWORD TargetProcess::Create(const wchar_t* exe_path,
startup_info.lpDesktop = desktop_name.get();
}
- // Hook up stdout/stderr.
- startup_info.dwFlags = STARTF_USESTDHANDLES;
- startup_info.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
- startup_info.hStdError = GetStdHandle(STD_ERROR_HANDLE);
-
PROCESS_INFORMATION process_info = {0};
if (!::CreateProcessAsUserW(lockdown_token_,