| Index: components/autofill/core/common/password_autofill_util.cc
|
| diff --git a/components/autofill/core/common/password_autofill_util.cc b/components/autofill/core/common/password_autofill_util.cc
|
| index b1f5dbf02586951b7bca6be729bcbfe6d909079d..eb8c970ea8a49de536303b1d7003e2184ba4d17e 100644
|
| --- a/components/autofill/core/common/password_autofill_util.cc
|
| +++ b/components/autofill/core/common/password_autofill_util.cc
|
| @@ -9,11 +9,11 @@
|
|
|
| namespace autofill {
|
|
|
| -// We ignore autocomplete='off' if the user has specified the command line
|
| -// feature to enable it.
|
| +// We ignore autocomplete='off' unless the user has specified the command line
|
| +// flag instructing otherwise.
|
| bool ShouldIgnoreAutocompleteOffForPasswordFields() {
|
| - return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableIgnoreAutocompleteOff);
|
| + return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableIgnoreAutocompleteOff);
|
| }
|
|
|
| } // namespace autofill
|
|
|