Chromium Code Reviews| Index: chrome/browser/cocoa/infobar_container_controller.mm |
| =================================================================== |
| --- chrome/browser/cocoa/infobar_container_controller.mm (revision 44939) |
| +++ chrome/browser/cocoa/infobar_container_controller.mm (working copy) |
| @@ -123,7 +123,8 @@ |
| - (void)tabDetachedWithContents:(TabContents*)contents |
| atIndex:(NSInteger)index { |
| - [self changeTabContents:NULL]; |
| + if (currentTabContents_ == contents) |
|
rohitrao (ping after 24h)
2010/04/21 14:00:52
This doesn't quite match the logic in browser_view
|
| + [self changeTabContents:NULL]; |
| } |
| - (void)resizeView:(NSView*)view newHeight:(CGFloat)height { |