Index: chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc |
=================================================================== |
--- chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc (revision 195254) |
+++ chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc (working copy) |
@@ -230,8 +230,7 @@ |
// |infobar_service|. |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(web_contents()); |
- scoped_ptr<InfoBarDelegate> delegate( |
- infobar_service->GetInfoBarDelegateAt(0)); |
+ scoped_ptr<InfoBarDelegate> delegate(infobar_service->infobar_at(0)); |
infobar_service->RemoveInfoBar(delegate.get()); |
} |