Chromium Code Reviews| Index: chrome/browser/chrome_browser_application_mac.mm |
| diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm |
| index 9394767788b26609101f9eb20d7a290e417f1d8b..e81ce1a3bb271a91495016fc9f2a9bd28b1e10f5 100644 |
| --- a/chrome/browser/chrome_browser_application_mac.mm |
| +++ b/chrome/browser/chrome_browser_application_mac.mm |
| @@ -12,11 +12,11 @@ |
| #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" |
| #include "content/browser/accessibility/browser_accessibility_state.h" |
| #include "content/browser/renderer_host/render_view_host.h" |
| +#import "chrome/common/mac/objc_method_swizzle.h" |
|
Mark Mentovai
2011/09/01 22:07:26
Sort: chrome < content.
Scott Hess - ex-Googler
2011/09/01 23:31:57
Done. I looked right past that distinction. Woul
Mark Mentovai
2011/09/01 23:55:23
shess wrote:
|
| +#import "chrome/common/mac/objc_zombie.h" |
| // The implementation of NSExceptions break various assumptions in the |
| // Chrome code. This category defines a replacement for |
| @@ -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); |
|
Mark Mentovai
2011/09/01 22:07:26
This uses that swap loop, right? Over all of the o
Scott Hess - ex-Googler
2011/09/01 23:31:57
I think I had originally coded up an alternative w
Mark Mentovai
2011/09/01 23:55:23
shess wrote:
|
| } |
| - (id)init { |