| Index: chrome/browser/cocoa/browser_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/browser_window_controller.mm (revision 30592)
|
| +++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
|
| @@ -262,13 +262,7 @@
|
| // that its window has on our window before our window goes away.
|
| delete statusBubble_;
|
| statusBubble_ = NULL;
|
| - // We can't actually use |-autorelease| here because there's an embedded
|
| - // run loop in the |-performClose:| which contains its own autorelease pool.
|
| - // Instead we call it after a zero-length delay, which gets us back
|
| - // to the main event loop.
|
| - [self performSelector:@selector(autorelease)
|
| - withObject:nil
|
| - afterDelay:0];
|
| + [self autorelease];
|
| }
|
|
|
| - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window {
|
|
|