| Index: chrome/browser/cocoa/find_bar_cocoa_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/find_bar_cocoa_controller.mm (revision 28822)
|
| +++ chrome/browser/cocoa/find_bar_cocoa_controller.mm (working copy)
|
| @@ -50,6 +50,9 @@
|
| // All animations should be explicitly stopped by the TabContents before a tab
|
| // is closed.
|
| DCHECK(!currentAnimation_.get());
|
| + // Remove our view from its superview so it doesn't attempt to reference
|
| + // it when the controller is gone.
|
| + [[self view] removeFromSuperview];
|
| [[NSNotificationCenter defaultCenter] removeObserver:self];
|
| [super dealloc];
|
| }
|
|
|