| 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)) {
|
|
|