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

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

Issue 368243007: Reland of "Use address_data.h from upstream libaddressinput". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update BUILD.gn, fix a test. Created 6 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
« no previous file with comments | « chrome/browser/ui/autofill/DEPS ('k') | chrome/browser/ui/autofill/autofill_dialog_i18n_input.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_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index f3f89906b1c2f48708e162385940fa4ea34fe8bd..f105678d8358ce2ba87cd92cf195697346c58814 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -3619,7 +3619,7 @@ bool AutofillDialogControllerImpl::SectionIsValid(
bool AutofillDialogControllerImpl::RulesAreLoaded(DialogSection section) {
AddressData address_data;
- address_data.country_code = CountryCodeForSection(section);
+ address_data.region_code = CountryCodeForSection(section);
AddressValidator::Status status = GetValidator()->ValidateAddress(
address_data, AddressProblemFilter(), NULL);
return status == AddressValidator::SUCCESS;
« no previous file with comments | « chrome/browser/ui/autofill/DEPS ('k') | chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698