| Index: content/app/content_main_runner.cc
|
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
|
| index 58dc14b2bc0dc7e8f8df1a49d545598071899aee..4d76ab1f5170d86e479d12bfb8e9bd007a88ab05 100644
|
| --- a/content/app/content_main_runner.cc
|
| +++ b/content/app/content_main_runner.cc
|
| @@ -530,6 +530,12 @@ static void ReleaseFreeMemoryThunk() {
|
| SetContentClient(&empty_content_client_);
|
| ContentClientInitializer::Set(process_type, delegate_);
|
|
|
| +#if defined(OS_WIN)
|
| + // Route stdio to parent console (if any) or create one.
|
| + if (command_line.HasSwitch(switches::kEnableLogging))
|
| + base::RouteStdioToConsole();
|
| +#endif
|
| +
|
| // Enable startup tracing asap to avoid early TRACE_EVENT calls being
|
| // ignored.
|
| if (command_line.HasSwitch(switches::kTraceStartup)) {
|
|
|