Index: components/autofill/core/common/password_generation_util.cc |
diff --git a/components/autofill/core/common/password_generation_util.cc b/components/autofill/core/common/password_generation_util.cc |
index cc76f91890fc48bdaa0dc0885974f43a01ea2cba..95f4f60ebcfd5d61af0498e4743952ba14a27d6d 100644 |
--- a/components/autofill/core/common/password_generation_util.cc |
+++ b/components/autofill/core/common/password_generation_util.cc |
@@ -55,7 +55,7 @@ bool IsPasswordGenerationEnabled() { |
if (command_line->HasSwitch(switches::kEnablePasswordGeneration)) |
return true; |
- return group_name == "Enabled"; |
+ return group_name != "Disabled"; |
} |
} // namespace password_generation |