| Index: components/autofill/content/renderer/password_generation_agent.cc
|
| diff --git a/components/autofill/content/renderer/password_generation_agent.cc b/components/autofill/content/renderer/password_generation_agent.cc
|
| index f9fe4c97345751f016629265c79bd45d9554e130..e7986765a8e42dcc5699bd0ad4950641937daf1f 100644
|
| --- a/components/autofill/content/renderer/password_generation_agent.cc
|
| +++ b/components/autofill/content/renderer/password_generation_agent.cc
|
| @@ -334,6 +334,7 @@ void PasswordGenerationAgent::FormNotBlacklisted(const PasswordForm& form) {
|
| void PasswordGenerationAgent::GeneratedPasswordAccepted(
|
| const base::string16& password) {
|
| password_is_generated_ = true;
|
| + password_edited_ = false;
|
| password_generation::LogPasswordGenerationEvent(
|
| password_generation::PASSWORD_ACCEPTED);
|
| LogMessage(Logger::STRING_GENERATION_RENDERER_GENERATED_PASSWORD_ACCEPTED);
|
| @@ -565,6 +566,7 @@ void PasswordGenerationAgent::HidePopup() {
|
| void PasswordGenerationAgent::PasswordNoLongerGenerated() {
|
| // Do not treat the password as generated, either here or in the browser.
|
| password_is_generated_ = false;
|
| + password_edited_ = false;
|
| generation_element_.SetShouldRevealPassword(false);
|
| for (blink::WebInputElement& password :
|
| generation_form_data_->password_elements)
|
|
|