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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm

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/ui/cocoa/infobars/infobar_container_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm (revision 195254)
+++ chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm (working copy)
@@ -144,9 +144,9 @@
if (currentWebContents_) {
InfoBarService* infobarService =
InfoBarService::FromWebContents(currentWebContents_);
- for (size_t i = 0; i < infobarService->GetInfoBarCount(); ++i) {
- InfoBar* infobar = infobarService->
- GetInfoBarDelegateAt(i)->CreateInfoBar(infobarService);
+ for (size_t i = 0; i < infobarService->infobar_count(); ++i) {
+ InfoBar* infobar =
+ infobarService->infobar_at(i)->CreateInfoBar(infobarService);
[self addInfoBar:infobar animate:NO];
}

Powered by Google App Engine
This is Rietveld 408576698