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 afe31435e8d0aa847b7d5b435f69920e4fb3eab1..90050385ff42c4b84ab400ab5184d55c3c22766f 100644 |
--- a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
+++ b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm |
@@ -82,6 +82,7 @@ void KeystonePromotionInfoBarDelegate::Create() { |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(webContents); |
infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar( |
+ infobar_service, |
scoped_ptr<ConfirmInfoBarDelegate>(new KeystonePromotionInfoBarDelegate( |
Profile::FromBrowserContext( |
webContents->GetBrowserContext())->GetPrefs())))); |