summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc')
-rw-r--r--chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
index 6c475e4..2fa0086 100644
--- a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
+++ b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
@@ -31,7 +31,7 @@ class CryptotokenPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
static void Create(InfoBarService* infobar_service,
const base::string16& message,
const InfoBarCallback& callback) {
- infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar(
+ infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar(
scoped_ptr<ConfirmInfoBarDelegate>(
new CryptotokenPermissionInfoBarDelegate(message, callback))));
}