Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1452)

Unified Diff: mojo/runner/desktop/main_helper.cc

Issue 1508053003: Show the callstack that a nontransferable message pipe was first used if it's erroneously sent later (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove frame fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/runner/desktop/launcher_process.cc ('k') | mojo/runner/host/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « mojo/runner/desktop/launcher_process.cc ('k') | mojo/runner/host/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698