Index: chrome/browser/password_manager/password_manager_browsertest.cc |
=================================================================== |
--- chrome/browser/password_manager/password_manager_browsertest.cc (revision 195254) |
+++ chrome/browser/password_manager/password_manager_browsertest.cc (working copy) |
@@ -52,7 +52,7 @@ |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE { |
// Accept in the infobar. |
- InfoBarDelegate* infobar = infobar_service_->GetInfoBarDelegateAt(0); |
+ InfoBarDelegate* infobar = infobar_service_->infobar_at(0); |
ConfirmInfoBarDelegate* confirm_infobar = |
infobar->AsConfirmInfoBarDelegate(); |
confirm_infobar->Accept(); |