Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: components/autofill/core/browser/autofill_field.cc

Issue 1059393002: Remove --respect-autocomplete-off-autofill flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix last 3 tests Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_field.cc
diff --git a/components/autofill/core/browser/autofill_field.cc b/components/autofill/core/browser/autofill_field.cc
index 1aa3bd3e1da67a1cad9443650a650dadd14faf1c..62b6667c8a579f8196ff7fc9aedc998417d3ab83 100644
--- a/components/autofill/core/browser/autofill_field.cc
+++ b/components/autofill/core/browser/autofill_field.cc
@@ -488,10 +488,7 @@ std::string AutofillField::FieldSignature() const {
}
bool AutofillField::IsFieldFillable() const {
- return (should_autocomplete ||
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kRespectAutocompleteOffForAutofill)) &&
- !Type().IsUnknown();
+ return !Type().IsUnknown();
}
// static

Powered by Google App Engine
This is Rietveld 408576698