| Index: chrome/browser/cocoa/infobar_container_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/infobar_container_controller.mm (revision 28822)
|
| +++ chrome/browser/cocoa/infobar_container_controller.mm (working copy)
|
| @@ -89,6 +89,9 @@
|
|
|
| - (void)dealloc {
|
| DCHECK([infobarControllers_ count] == 0);
|
| + // Remove our view from its superview so it doesn't attempt to reference
|
| + // it when the controller is gone.
|
| + [[self view] removeFromSuperview];
|
| [super dealloc];
|
| }
|
|
|
|
|