Index: chrome/app/chrome_exe_main_win.cc |
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc |
index b43dacd59683e8b65f8f0f7dc6a5ef1e800a651d..fe986dd3dc9f1b46ba9f32629e66cd239f0c8900 100644 |
--- a/chrome/app/chrome_exe_main_win.cc |
+++ b/chrome/app/chrome_exe_main_win.cc |
@@ -79,11 +79,9 @@ bool AttemptFastNotify(const CommandLine& command_line) { |
} // namespace |
-#if !defined(ADDRESS_SANITIZER) |
+#if !defined(FORCE_CONSOLE_SUBSYSTEM) |
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { |
#else |
-// The AddressSanitizer build should be a console program as it prints out stuff |
-// on stderr. |
int main() { |
HINSTANCE instance = GetModuleHandle(NULL); |
#endif |