| Index: chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| diff --git a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| index cff0cae7bbdac8d05d46658c514102533df01419..2b58724eac51bc62f450d5421b65b5ce0d38333f 100644
|
| --- a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| @@ -5,9 +5,9 @@
|
| #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
|
|
|
| #include "base/logging.h"
|
| +#include "chrome/browser/api/infobars/infobar_tab_service.h"
|
| #include "chrome/browser/autofill/credit_card.h"
|
| #include "chrome/browser/autofill/personal_data_manager.h"
|
| -#include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/public/browser/page_navigator.h"
|
| #include "content/public/browser/web_contents.h"
|
| @@ -18,11 +18,11 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| AutofillCCInfoBarDelegate::AutofillCCInfoBarDelegate(
|
| - InfoBarTabHelper* infobar_helper,
|
| + InfoBarTabService* infobar_service,
|
| const CreditCard* credit_card,
|
| PersonalDataManager* personal_data,
|
| const AutofillMetrics* metric_logger)
|
| - : ConfirmInfoBarDelegate(infobar_helper),
|
| + : ConfirmInfoBarDelegate(infobar_service),
|
| credit_card_(credit_card),
|
| personal_data_(personal_data),
|
| metric_logger_(metric_logger),
|
| @@ -89,8 +89,8 @@ string16 AutofillCCInfoBarDelegate::GetLinkText() const {
|
| }
|
|
|
| bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
|
| - owner()->web_contents()->GetDelegate()->OpenURLFromTab(
|
| - owner()->web_contents(),
|
| + owner()->GetWebContents()->GetDelegate()->OpenURLFromTab(
|
| + owner()->GetWebContents(),
|
| content::OpenURLParams(GURL(chrome::kAutofillHelpURL),
|
| content::Referrer(),
|
| NEW_FOREGROUND_TAB,
|
|
|