diff options
author | scottmg <scottmg@chromium.org> | 2015-08-17 22:14:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-18 05:15:31 +0000 |
commit | c925519f099c8d276f466d53035b6b41fb7349a6 (patch) | |
tree | 66cdd5c8f55ec3a6b3d155aac9421b2e947a39b8 /base | |
parent | f9cfc4d02e387612c90385a5998af884975942a5 (diff) | |
download | chromium_src-c925519f099c8d276f466d53035b6b41fb7349a6.zip chromium_src-c925519f099c8d276f466d53035b6b41fb7349a6.tar.gz chromium_src-c925519f099c8d276f466d53035b6b41fb7349a6.tar.bz2 |
Fix renderers not launching on win8 and above
I'm not sure if there will be problems with the logging cases, but I think this makes sense that we shouldn't do the freopen path after AllocConsole isn't done.
R=jam@chromium.org
BUG=521820
Review URL: https://codereview.chromium.org/1290723004
Cr-Commit-Position: refs/heads/master@{#343809}
Diffstat (limited to 'base')
-rw-r--r-- | base/process/launch_win.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc index 324eee7..54b0667 100644 --- a/base/process/launch_win.cc +++ b/base/process/launch_win.cc @@ -177,6 +177,8 @@ void RouteStdioToConsole(bool create_console_if_not_found) { // It should be ERROR_INVALID_HANDLE at this point, which means the // browser was likely not started from a console. AllocConsole(); + } else { + return; } } |