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

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

Issue 347183005: autofill names - dont parse when calling SetRawInfo(FULL_NAME) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix buncha stuff 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
Index: chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
index 56d9988fdffb21c3adcf2d6c93fa1fcc2b4ba07a..d8e82b618ee2bf871ddab0a6f2f11095cc85ac78 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
@@ -104,8 +104,10 @@ bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile,
};
for (size_t i = 0; i < arraysize(more_required_fields); ++i) {
- if (profile.GetRawInfo(more_required_fields[i]).empty())
+ if (profile.GetInfo(AutofillType(more_required_fields[i]),
+ app_locale).empty()) {
return false;
+ }
}
return true;

Powered by Google App Engine
This is Rietveld 408576698