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

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

Issue 19528007: [Autofill] Temporarily drop support for street-address autocomplete type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests that used the street-address autocomplete type Created 7 years, 5 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/form_structure.cc
diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc
index ff3f84e548b9859b4b1519a34fe07f5c989c12ab..0e97d98052fdb24ff69accd6f5437175caa47436 100644
--- a/components/autofill/core/browser/form_structure.cc
+++ b/components/autofill/core/browser/form_structure.cc
@@ -210,8 +210,7 @@ AutofillFieldType FieldTypeFromAutocompleteType(
if (autocomplete_type == "organization")
return COMPANY_NAME;
- if (autocomplete_type == "street-address" ||
- autocomplete_type == "address-line1")
+ if (autocomplete_type == "address-line1")
return ADDRESS_HOME_LINE1;
if (autocomplete_type == "address-line2")

Powered by Google App Engine
This is Rietveld 408576698