Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4202)

Unified Diff: chrome/browser/ui/cocoa/keystone_infobar_delegate.mm

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698