| Index: chrome/browser/password_manager/password_manager_infobar_delegate.cc
|
| diff --git a/chrome/browser/password_manager/password_manager_infobar_delegate.cc b/chrome/browser/password_manager/password_manager_infobar_delegate.cc
|
| index be734063acdb4119ee4c2b361119cfd497c47e4e..c19dabb8129b14f032057aeb9143feb328301aea 100644
|
| --- a/chrome/browser/password_manager/password_manager_infobar_delegate.cc
|
| +++ b/chrome/browser/password_manager/password_manager_infobar_delegate.cc
|
| @@ -40,14 +40,13 @@ base::string16 PasswordManagerInfoBarDelegate::GetMessageText() const {
|
| return message_;
|
| }
|
|
|
| +GURL PasswordManagerInfoBarDelegate::GetLinkURL() const {
|
| + return GURL(l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SMART_LOCK_PAGE));
|
| +}
|
| +
|
| bool PasswordManagerInfoBarDelegate::LinkClicked(
|
| WindowOpenDisposition disposition) {
|
| - InfoBarService::WebContentsFromInfoBar(infobar())
|
| - ->OpenURL(content::OpenURLParams(
|
| - GURL(l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SMART_LOCK_PAGE)),
|
| - content::Referrer(),
|
| - (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
|
| - ui::PAGE_TRANSITION_LINK, false));
|
| + ConfirmInfoBarDelegate::LinkClicked(disposition);
|
| return true;
|
| }
|
|
|
|
|