Index: headless/lib/headless_content_main_delegate.cc |
diff --git a/headless/lib/headless_content_main_delegate.cc b/headless/lib/headless_content_main_delegate.cc |
index 653e7a11266cea7f0d3ff3e4b05dfbbd78ccf6b5..608881757e2d2c2e57b9a49758274e17a159eca7 100644 |
--- a/headless/lib/headless_content_main_delegate.cc |
+++ b/headless/lib/headless_content_main_delegate.cc |
@@ -77,8 +77,10 @@ bool HeadlessContentMainDelegate::BasicStartupComplete(int* exit_code) { |
void HeadlessContentMainDelegate::InitLogging( |
const base::CommandLine& command_line) { |
+#if !defined(OS_WIN) |
if (!command_line.HasSwitch(switches::kEnableLogging)) |
return; |
+#endif |
logging::LoggingDestination log_mode; |
base::FilePath log_filename(FILE_PATH_LITERAL("chrome_debug.log")); |