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>2011-09-06 17:25:15 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 17:25:15 +0000
commitd02437b6e66f851f1b627418db1bb2e200497e3a (patch)
treeb8db39af85ca5c8a56081538e3a36277fc9c2c65 /chrome/browser/chrome_browser_application_mac.mm
parentdceaa916f0c01a0d9f87ef77c91dc6bbce3b1979 (diff)
downloadchromium_src-d02437b6e66f851f1b627418db1bb2e200497e3a.zip
chromium_src-d02437b6e66f851f1b627418db1bb2e200497e3a.tar.gz
chromium_src-d02437b6e66f851f1b627418db1bb2e200497e3a.tar.bz2
[Mac] Enable CrZombie for all processes.
For the browser process, this will be overridden by -[BrowserCrApplication init] (which raises it). BUG=94551 TEST=Developers don't complain about zombie objects in other processes. Review URL: http://codereview.chromium.org/7826016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_application_mac.mm')
-rw-r--r--chrome/browser/chrome_browser_application_mac.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index 9394767..852d2ba 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -12,9 +12,9 @@
#import "chrome/app/breakpad_mac.h"
#import "chrome/browser/app_controller_mac.h"
#include "chrome/browser/ui/browser_list.h"
-#import "chrome/browser/ui/cocoa/objc_method_swizzle.h"
-#import "chrome/browser/ui/cocoa/objc_zombie.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#import "chrome/common/mac/objc_method_swizzle.h"
+#import "chrome/common/mac/objc_zombie.h"
#include "content/browser/accessibility/browser_accessibility_state.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -210,7 +210,7 @@ void SwizzleInit() {
+ (void)initialize {
// Turn all deallocated Objective-C objects into zombies, keeping
// the most recent 10,000 of them on the treadmill.
- ObjcEvilDoers::ZombieEnable(YES, 10000);
+ ObjcEvilDoers::ZombieEnable(true, 10000);
}
- (id)init {