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 907342b4bda27362d8dd13ad634883645c4e8740..69ab4c9eb31c8407221dd0650864ac7b18411001 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 |