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

Unified Diff: chrome/browser/extensions/theme_installed_infobar_delegate.cc

Issue 14241006: Eliminate InfoBarTabHelper. Make InfoBarService a concrete class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/extensions/theme_installed_infobar_delegate.cc
===================================================================
--- chrome/browser/extensions/theme_installed_infobar_delegate.cc (revision 195254)
+++ chrome/browser/extensions/theme_installed_infobar_delegate.cc (working copy)
@@ -48,8 +48,8 @@
// First find any previous theme preview infobars.
InfoBarDelegate* old_delegate = NULL;
- for (size_t i = 0; i < infobar_service->GetInfoBarCount(); ++i) {
- InfoBarDelegate* delegate = infobar_service->GetInfoBarDelegateAt(i);
+ for (size_t i = 0; i < infobar_service->infobar_count(); ++i) {
+ InfoBarDelegate* delegate = infobar_service->infobar_at(i);
ThemeInstalledInfoBarDelegate* theme_infobar =
delegate->AsThemePreviewInfobarDelegate();
if (theme_infobar) {

Powered by Google App Engine
This is Rietveld 408576698