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 5f723d74d42f0d198bae573ece88dad36bee24da..9e9e20e5c809cd850c3e25d9660f7bde7a44773a 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; |