Index: components/password_manager/content/browser/credential_manager_dispatcher.cc |
diff --git a/components/password_manager/content/browser/credential_manager_dispatcher.cc b/components/password_manager/content/browser/credential_manager_dispatcher.cc |
index 030612d58f80cdef09f2dcc87fbe32daa022ccf7..f37c0b9c1f2b1992693b9aaca40e06d0874d58c1 100644 |
--- a/components/password_manager/content/browser/credential_manager_dispatcher.cc |
+++ b/components/password_manager/content/browser/credential_manager_dispatcher.cc |
@@ -64,6 +64,8 @@ void CredentialManagerDispatcher::OnStore( |
if (!client_->IsSavingAndFillingEnabledForCurrentPage()) |
return; |
+ client_->NotifyStorePasswordCalled(); |
+ |
GURL origin = web_contents()->GetLastCommittedURL().GetOrigin(); |
std::unique_ptr<autofill::PasswordForm> form( |
CreatePasswordFormFromCredentialInfo(credential, origin)); |