summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_application_mac.mm
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-04 17:24:03 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-04 17:24:03 +0000
commitd227c44279f0a5811e51b40f3d399bf4111c1aaf (patch)
tree6bfbe88b77f30c707cfc48b099e4a31a16d6dd1d /chrome/browser/chrome_browser_application_mac.mm
parentd7ad93edc3480434ff62cb8471e353c21776c33c (diff)
downloadchromium_src-d227c44279f0a5811e51b40f3d399bf4111c1aaf.zip
chromium_src-d227c44279f0a5811e51b40f3d399bf4111c1aaf.tar.gz
chromium_src-d227c44279f0a5811e51b40f3d399bf4111c1aaf.tar.bz2
[Mac] Revert: Enable zombies for all on devchannel.
Reverts r48933, which broke the Mac Perf(2) bot. The original CL's review URL: http://codereview.chromium.org/2627001 TBR=avi BUG=none TEST=none Review URL: http://codereview.chromium.org/2629003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_application_mac.mm')
-rw-r--r--chrome/browser/chrome_browser_application_mac.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index a7e0bd4..6e171fd 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -163,10 +163,9 @@ BOOL SwizzleNSExceptionInit() {
@implementation BrowserCrApplication
+ (void)initialize {
- // Turn deallocated Objective-C objects into zombies.
- // TODO(shess): Revert back to a DCHECK() before the next beta
- // channel. http://crbug.com/45676
- ObjcEvilDoers::ZombieEnable(YES, 0);
+ // Turn all deallocated Objective-C objects into zombies, keeping
+ // the most recent 10,000 of them on the treadmill.
+ DCHECK(ObjcEvilDoers::ZombieEnable(YES, 10000));
}
- init {