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

Unified Diff: chrome/app/chrome_main.cc

Issue 7826016: [Mac] Enable CrZombie for all processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
Index: chrome/app/chrome_main.cc
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index dd49732477b9fd07601ff723599f5e81bb8994f4..3e7ad299276fc0035554cfb749af0e496977c88b 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -66,6 +66,7 @@
#include "chrome/browser/mac/relauncher.h"
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/common/mac/cfbundle_blocker.h"
+#include "chrome/common/mac/objc_zombie.h"
#include "content/browser/mach_broker_mac.h"
#include "grit/chromium_strings.h"
#include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.h"
@@ -584,6 +585,8 @@ class ChromeMainDelegate : public content::ContentMainDelegate {
#endif
#if defined(OS_MACOSX)
+ // TODO(shess): Enable zombies for everyone. http://crbug.com/94551
+ DCHECK(ObjcEvilDoers::ZombieEnable(true, 1000));
Scott Hess - ex-Googler 2011/09/01 21:58:22 This means that only debug builds will do this. I
Mark Mentovai 2011/09/01 22:00:13 shess wrote:
Mark Mentovai 2011/09/01 22:07:26 OK, sounds reasonable for this to be debug-only fo
Scott Hess - ex-Googler 2011/09/01 23:31:57 Man, you're too easy :-). That said, I'm certainl
Mark Mentovai 2011/09/01 23:55:23 shess wrote:
chrome_main::SetUpBundleOverrides();
chrome::common::mac::EnableCFBundleBlocker();
#endif
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_application_mac.mm » ('j') | chrome/browser/chrome_browser_application_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698