| Index: components/autofill/core/browser/password_generator.cc
|
| diff --git a/components/autofill/core/browser/password_generator.cc b/components/autofill/core/browser/password_generator.cc
|
| index 36964ad1ebd0931a291d8404c82dd06dbd664ed8..6fd092b81289613127ea3b3127b386b0a566c5b1 100644
|
| --- a/components/autofill/core/browser/password_generator.cc
|
| +++ b/components/autofill/core/browser/password_generator.cc
|
| @@ -94,7 +94,7 @@ std::string PasswordGenerator::Generate() const {
|
| gen_pron_pass(password, unused_hypenated_password,
|
| password_length_, password_length_, mode);
|
| if (VerifyPassword(password))
|
| - break;
|
| + return std::string(password);
|
| }
|
|
|
| // If the password still isn't conforming after a few iterations, force it
|
|
|