| Index: components/password_manager/core/browser/password_generation_manager.cc
|
| diff --git a/components/password_manager/core/browser/password_generation_manager.cc b/components/password_manager/core/browser/password_generation_manager.cc
|
| index 638822b877ea66acb10772b898ec4d4a6df1985e..fcb9f0af03d88113b94a610c7d3ce22bad2b10a1 100644
|
| --- a/components/password_manager/core/browser/password_generation_manager.cc
|
| +++ b/components/password_manager/core/browser/password_generation_manager.cc
|
| @@ -51,7 +51,7 @@ void PasswordGenerationManager::DetectAccountCreationForms(
|
| // (1) Password sync is enabled, and
|
| // (2) Password saving is enabled.
|
| bool PasswordGenerationManager::IsGenerationEnabled() const {
|
| - if (!driver_->GetPasswordManager()->IsSavingEnabledForCurrentPage()) {
|
| + if (!client_->IsSavingEnabledForCurrentPage()) {
|
| VLOG(2) << "Generation disabled because password saving is disabled";
|
| return false;
|
| }
|
|
|