Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index aa911b968fa785d1b1d86524563a94bc5322bcec..d37ca0a03473597504e5f7d6a3d62e5f8a85ddcf 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -143,10 +143,7 @@ |
EnsureCorrectResolutionSettings(); |
#endif // OS_MACOSX |
- // Log to stderr when run with --run-layout-tests |
- // so the layout tests can capture and display any messages. |
- if (!command_line.HasSwitch(switches::kRunLayoutTest)) |
- InitLogging(); |
+ InitLogging(); |
if (command_line.HasSwitch(switches::kCheckLayoutTestSysDeps)) { |
// If CheckLayoutSystemDeps succeeds, we don't exit early. Instead we |
// continue and try to load the fonts in BlinkTestPlatformInitialize |