Index: components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
diff --git a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
index 8a0d3c7416f477833b50ff463e4acd2147b2b500..958df428894e6e6216421455d202c702fcdfae6d 100644 |
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
@@ -107,9 +107,13 @@ base::string16 AutofillCCInfoBarDelegate::GetLinkText() const { |
return l10n_util::GetStringUTF16(IDS_LEARN_MORE); |
} |
+GURL AutofillCCInfoBarDelegate::GetLinkURL() const { |
+ return GURL(kHelpURL); |
+} |
+ |
bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { |
autofill_client_->LinkClicked( |
- GURL(kHelpURL), |
+ GetLinkURL(), |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition); |
return false; |