diff options
Diffstat (limited to 'chrome/browser/cocoa/tab_contents_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/tab_contents_controller.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_contents_controller.mm b/chrome/browser/cocoa/tab_contents_controller.mm index b19dcb1..5ef5a4d 100644 --- a/chrome/browser/cocoa/tab_contents_controller.mm +++ b/chrome/browser/cocoa/tab_contents_controller.mm @@ -13,6 +13,12 @@ return self; } +- (void)dealloc { + // make sure our contents have been removed from the window + [[self view] removeFromSuperview]; + [super dealloc]; +} + - (void)awakeFromNib { [locationBar_ setStringValue:@"http://dev.chromium.org"]; } |