| Index: base/process/launch_win.cc
 | 
| diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc
 | 
| index 22c7555cd9b7147a7f27eed3b5521e3a1e969f95..de05255d90aaa3fecbf50c386c361920ae02571d 100644
 | 
| --- a/base/process/launch_win.cc
 | 
| +++ b/base/process/launch_win.cc
 | 
| @@ -63,15 +63,8 @@
 | 
|    // stdout/stderr on startup (before the handle IDs can be reused).
 | 
|    // _fileno(stdout) will return -2 (_NO_CONSOLE_FILENO) if stdout was
 | 
|    // invalid.
 | 
| -  if (_fileno(stdout) >= 0 || _fileno(stderr) >= 0) {
 | 
| -    // _fileno was broken for SUBSYSTEM:WINDOWS from VS2010 to VS2012/2013.
 | 
| -    // http://crbug.com/358267. Confirm that the underlying HANDLE is valid
 | 
| -    // before aborting.
 | 
| -    intptr_t stdout_handle = _get_osfhandle(_fileno(stdout));
 | 
| -    intptr_t stderr_handle = _get_osfhandle(_fileno(stderr));
 | 
| -    if (stdout_handle >= 0 || stderr_handle >= 0)
 | 
| -      return;
 | 
| -  }
 | 
| +  if (_fileno(stdout) >= 0 || _fileno(stderr) >= 0)
 | 
| +    return;
 | 
|  
 | 
|    if (!AttachConsole(ATTACH_PARENT_PROCESS)) {
 | 
|      unsigned int result = GetLastError();
 | 
| 
 |