diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/keystone_infobar.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/keystone_infobar.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/keystone_infobar.mm b/chrome/browser/ui/cocoa/keystone_infobar.mm index ff910bd..7b2c235 100644 --- a/chrome/browser/ui/cocoa/keystone_infobar.mm +++ b/chrome/browser/ui/cocoa/keystone_infobar.mm @@ -195,7 +195,7 @@ bool KeystonePromotionInfoBarDelegate::Cancel() { // Only show if no other info bars are showing, because that's how the // default browser info bar works. - if (tabContents && tabContents->infobar_delegate_count() == 0) { + if (tabContents && tabContents->infobar_count() == 0) { tabContents->AddInfoBar( new KeystonePromotionInfoBarDelegate(tabContents)); } |