| 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 81fa1339876435834e73d92e3b553621f52a5c3c..4cf467e66a43062d8721807903bd8a0106470b0d 100644
|
| --- a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| @@ -100,7 +100,9 @@ base::string16 AutofillCCInfoBarDelegate::GetLinkText() const {
|
| }
|
|
|
| bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
|
| - web_contents()->OpenURL(content::OpenURLParams(
|
| + content::WebContents* web_contents =
|
| + InfoBarService::WebContentsFromInfoBar(infobar());
|
| + web_contents->OpenURL(content::OpenURLParams(
|
| GURL(autofill::kHelpURL), content::Referrer(),
|
| (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
|
| content::PAGE_TRANSITION_LINK, false));
|
|
|