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

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 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/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 6b98cefa1410eda90163cbb4c174a750f1cd4bfa..8c5b540bc7789b3d69a146878afc5d535e0aefc8 100644
--- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
+++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
@@ -410,7 +410,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;

Powered by Google App Engine
This is Rietveld 408576698