| 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 c079e3d9c5cb82b28f4f32eeede7e9bb599d704c..edda3b393c8d6cc5758ff890e08bfde7ffdd47fc 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc
|
| @@ -38,12 +38,12 @@ DetailInput::Length LengthFromHint(AddressUiComponent::LengthHint hint) {
|
|
|
| void BuildAddressInputs(common::AddressType address_type,
|
| const std::string& country_code,
|
| - DetailInputs* inputs) {
|
| - // TODO(rouslan): Store the language code for the autofill profile.
|
| - // http://crbug.com/354955
|
| + DetailInputs* inputs,
|
| + std::string* language_code) {
|
| std::vector<AddressUiComponent> components(
|
| ::i18n::addressinput::BuildComponents(
|
| - country_code, g_browser_process->GetApplicationLocale(), NULL));
|
| + country_code, g_browser_process->GetApplicationLocale(),
|
| + language_code));
|
|
|
| const bool billing = address_type == common::ADDRESS_TYPE_BILLING;
|
|
|
|
|