Index: components/webdata/autofill/autofill_table.cc |
=================================================================== |
--- components/webdata/autofill/autofill_table.cc (revision 192175) |
+++ components/webdata/autofill/autofill_table.cc (working copy) |
@@ -331,8 +331,8 @@ |
// The maximum length allowed for form data. |
const size_t AutofillTable::kMaxDataLength = 1024; |
-AutofillTable::AutofillTable() |
- : app_locale_(AutofillCountry::ApplicationLocale()) { |
+AutofillTable::AutofillTable(const std::string& app_locale) |
+ : app_locale_(app_locale) { |
} |
AutofillTable::~AutofillTable() { |
@@ -1992,7 +1992,7 @@ |
if (PersonalDataManager::IsValidLearnableProfile(*p)) { |
std::vector<AutofillProfile> merged_profiles; |
bool merged = PersonalDataManager::MergeProfile( |
- *p, accumulated_profiles_p, &merged_profiles); |
+ *p, accumulated_profiles_p, app_locale_, &merged_profiles); |
std::swap(accumulated_profiles, merged_profiles); |