Index: chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
diff --git a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
index 7345b25ae065131eb8821d2461070bd4fe051851..8147d13f7dd8ff484c0e8b1ef6a908dc4331b8aa 100644 |
--- a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
+++ b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
@@ -198,7 +198,7 @@ bool KeystonePromotionInfoBarDelegate::ShouldExpireInternal( |
// default browser info bar works. |
if (tabContents) { |
InfoBarTabHelper* infobar_helper = tabContents->infobar_tab_helper(); |
- if (infobar_helper->infobar_count() == 0) { |
+ if (infobar_helper->GetInfoBarCount() == 0) { |
infobar_helper->AddInfoBar( |
new KeystonePromotionInfoBarDelegate( |
infobar_helper, |