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

Unified Diff: chrome/app/chrome_exe_main_win.cc

Issue 9348114: Windows hack: use "/subsystem:console" to get stdout/stderr output Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months 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 | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
old mode 100644
new mode 100755
index 0d7ca72412753e758a13b3de0e5960262afb7e0d..f8fb5d7fafa3e47f317eaa6e284acf6468b2d1f2
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -13,7 +13,11 @@
#include "content/public/common/result_codes.h"
#include "sandbox/src/sandbox_factory.h"
-int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
+//int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
+int main() {
+ HINSTANCE instance = (HINSTANCE)GetModuleHandle(NULL);
+ // base::EnableTerminationOnHeapCorruption();
+
bool exit_now = true;
// We restarted because of a previous crash. Ask user if we should relaunch.
if (ShowRestartDialogIfCrashed(&exit_now)) {
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698