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..ed2dc0ce98d5ab94dd2f25d556bb685c7e152995 100644 |
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
@@ -107,12 +107,8 @@ base::string16 AutofillCCInfoBarDelegate::GetLinkText() const { |
return l10n_util::GetStringUTF16(IDS_LEARN_MORE); |
} |
-bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { |
- autofill_client_->LinkClicked( |
- GURL(kHelpURL), |
- (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition); |
- |
- return false; |
+GURL AutofillCCInfoBarDelegate::GetLinkURL() const { |
+ return GURL(kHelpURL); |
} |
} // namespace autofill |