Index: mojo/runner/desktop/main_helper.cc |
diff --git a/mojo/runner/desktop/main_helper.cc b/mojo/runner/desktop/main_helper.cc |
index c36266631f3f77fed3c1e4b3258831e3cc4fd5e6..a1866194ae787db33f7c1eefecc3e138a5a821f0 100644 |
--- a/mojo/runner/desktop/main_helper.cc |
+++ b/mojo/runner/desktop/main_helper.cc |
@@ -39,11 +39,9 @@ int RunnerMain(int argc, char** argv, |
InitializeLogging(); |
WaitForDebuggerIfNecessary(); |
-#if !defined(OFFICIAL_BUILD) |
-#if defined(OS_WIN) |
+#if !defined(OFFICIAL_BUILD) && defined(OS_WIN) |
base::RouteStdioToConsole(false); |
#endif |
-#endif |
if (command_line.HasSwitch(switches::kChildProcess)) |
return ChildProcessMain(); |