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

Unified Diff: chrome/browser/ui/webui/options/autofill_options_handler.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/webui/options/autofill_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
index cfe09e42e24367f0a4c153215d13eab42606158b..46e11e7af763ce76320cea62cb3fc71c1750113a 100644
--- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
+++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
@@ -407,7 +407,10 @@ void AutofillOptionsHandler::LoadAutofillData() {
const std::vector<AutofillProfile*>& profiles =
personal_data_->web_profiles();
std::vector<base::string16> labels;
- AutofillProfile::CreateDifferentiatingLabels(profiles, &labels);
+ AutofillProfile::CreateDifferentiatingLabels(
+ profiles,
+ g_browser_process->GetApplicationLocale(),
+ &labels);
DCHECK_EQ(labels.size(), profiles.size());
base::ListValue addresses;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc ('k') | components/autofill/core/browser/address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698