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

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

Issue 694073002: Autofill - fix for Lowes mobile checkout cc form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relative Created 6 years, 2 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
« no previous file with comments | « components/autofill/core/browser/form_field.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/form_field.cc
diff --git a/components/autofill/core/browser/form_field.cc b/components/autofill/core/browser/form_field.cc
index 272367622b551033b12fc472357f8d8e64e7601f..b25ff2b44f72d6bd9a62fdb1ce02678e3f124ada 100644
--- a/components/autofill/core/browser/form_field.cc
+++ b/components/autofill/core/browser/form_field.cc
@@ -186,6 +186,9 @@ bool FormField::MatchesFormControlType(const std::string& type,
if ((match_type & MATCH_TEXT_AREA) && type == "textarea")
return true;
+ if ((match_type & MATCH_PASSWORD) && type == "password")
+ return true;
+
return false;
}
« no previous file with comments | « components/autofill/core/browser/form_field.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698