| Index: chrome/browser/cocoa/extension_shelf_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/extension_shelf_controller.mm (revision 28822)
|
| +++ chrome/browser/cocoa/extension_shelf_controller.mm (working copy)
|
| @@ -328,6 +328,13 @@
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + // Remove our view from its superview so it doesn't attempt to reference
|
| + // it when the controller is gone.
|
| + [[self view] removeFromSuperview];
|
| + [super dealloc];
|
| +}
|
| +
|
| - (void)wasInsertedIntoWindow {
|
| // The bridge_ calls cacheDisplayInRect:toBitmapImageRep:, which requires that
|
| // the view is in a superview to work. Hence, create the bridge object no
|
|
|
| Property changes on: chrome/browser/cocoa/extension_shelf_controller.mm
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|