Index: chrome/app/chrome_exe_main.mm |
=================================================================== |
--- chrome/app/chrome_exe_main.mm (revision 22482) |
+++ chrome/app/chrome_exe_main.mm (working copy) |
@@ -2,12 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include <Cocoa/Cocoa.h> |
- |
-#include "base/at_exit.h" |
-#include "base/process_util.h" |
-#import "chrome/app/breakpad_mac.h" |
- |
// The entry point for all invocations of Chromium, browser and renderer. On |
// windows, this does nothing but load chrome.dll and invoke its entry point |
// in order to make it easy to update the app from GoogleUpdate. We don't need |
@@ -20,22 +14,5 @@ |
} |
int main(int argc, const char** argv) { |
- base::EnableTerminationOnHeapCorruption(); |
- |
- // The exit manager is in charge of calling the dtors of singletons. |
- // Win has one here, but we assert with multiples from BrowserMain() if we |
- // keep it. |
- // base::AtExitManager exit_manager; |
- |
-#if defined(GOOGLE_CHROME_BUILD) |
- InitCrashReporter(); |
-#endif |
- |
- int ret = ChromeMain(argc, argv); |
- |
-#if defined(GOOGLE_CHROME_BUILD) |
- DestructCrashReporter(); |
-#endif |
- |
- return ret; |
+ return ChromeMain(argc, argv); |
} |