| Index: components/autofill/content/renderer/form_autofill_util.cc
|
| diff --git a/components/autofill/content/renderer/form_autofill_util.cc b/components/autofill/content/renderer/form_autofill_util.cc
|
| index 55f3a03e7c9a7ff5305172a121d4551ec94f6096..d87b052d5cc363e02606fe86ed0f36224c698b67 100644
|
| --- a/components/autofill/content/renderer/form_autofill_util.cc
|
| +++ b/components/autofill/content/renderer/form_autofill_util.cc
|
| @@ -87,18 +87,9 @@ bool IsAutofillableElement(const WebFormControlElement& element) {
|
| return IsAutofillableInputElement(input_element) || IsSelectElement(element);
|
| }
|
|
|
| -bool IsAutocheckoutEnabled() {
|
| - return base::FieldTrialList::FindFullName("Autocheckout") == "Yes" ||
|
| - CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableExperimentalFormFilling);
|
| -}
|
| -
|
| // Check whether the given field satisfies the REQUIRE_AUTOCOMPLETE requirement.
|
| -// When Autocheckout is enabled, this requirement is enforced in the browser
|
| -// process rather than in the renderer process, and hence all fields are
|
| -// considered to satisfy this requirement.
|
| bool SatisfiesRequireAutocomplete(const WebInputElement& input_element) {
|
| - return input_element.autoComplete() || IsAutocheckoutEnabled();
|
| + return input_element.autoComplete();
|
| }
|
|
|
| // Appends |suffix| to |prefix| so that any intermediary whitespace is collapsed
|
|
|