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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_common.cc

Issue 322453003: autocomplete: support address-line3, address-level{1,2,3} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test expectations Created 6 years, 6 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_common.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc
index 18c844adb63b805701e93588bb86fd01b166c22a..2a3eeb2e634cef7b4873816f623a56181ec6587f 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_common.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc
@@ -37,8 +37,9 @@ bool ServerTypeEncompassesFieldType(ServerFieldType type,
// The page may ask for individual address lines; this roughly matches the
// street address blob.
- if (server_type == ADDRESS_HOME_LINE1 || server_type == ADDRESS_HOME_LINE2 ||
- field_type.html_type() == HTML_TYPE_FULL_ADDRESS) {
+ if (server_type == ADDRESS_HOME_LINE1 ||
+ server_type == ADDRESS_HOME_LINE2 ||
+ server_type == ADDRESS_HOME_LINE3) {
return autofill_type.GetStorableType() == ADDRESS_HOME_STREET_ADDRESS;
}
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698