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

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 android test expectation 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
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 6fe305c3797bf0e9338709d705e49401085ff96c..94ff4aa121cf2be41a6c0385e3e9cec08577f1c1 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
@@ -99,8 +99,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