| Index: chrome/browser/ui/passwords/password_manager_presenter.cc
|
| diff --git a/chrome/browser/ui/passwords/password_manager_presenter.cc b/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| index 6223656ac9cd4400150dde90948c0ebb6298ea00..24dd9bb2166fb2fe1814867ed802f684da20df6e 100644
|
| --- a/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| +++ b/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/common/url_constants.h"
|
| #include "components/autofill/core/common/password_form.h"
|
| #include "content/public/browser/user_metrics.h"
|
| +#include "content/public/browser/web_contents.h"
|
|
|
| PasswordManagerPresenter::PasswordManagerPresenter(
|
| PasswordUIView* password_view)
|
| @@ -95,7 +96,8 @@ void PasswordManagerPresenter::RemovePasswordException(size_t index) {
|
| void PasswordManagerPresenter::RequestShowPassword(size_t index) {
|
| DCHECK_LT(index, password_list_.size());
|
| if (IsAuthenticationRequired()) {
|
| - if (password_manager_util::AuthenticateUser())
|
| + if (password_manager_util::AuthenticateUser(
|
| + password_view_->GetWebContents()))
|
| last_authentication_time_ = base::TimeTicks::Now();
|
| else
|
| return;
|
|
|