Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index e774e72e33920ed676725c36e9c0e3a4675b5889..459907ccbd3b9f30e0d4d88848dfcf56b1b6a22c 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -1978,11 +1978,9 @@ views::View* AutofillDialogViews::InitInputsView(DialogSection section) { |
SelectComboboxValueOrSetToDefault(combobox, input.initial_value); |
view_to_add.reset(combobox); |
} else { |
- DecoratedTextfield* field = new DecoratedTextfield( |
- input.initial_value, |
- l10n_util::GetStringUTF16(input.placeholder_text_rid), |
- this); |
- |
+ DecoratedTextfield* field = new DecoratedTextfield(input.initial_value, |
+ input.placeholder_text, |
+ this); |
textfields->insert(std::make_pair(input.type, field)); |
view_to_add.reset(field); |
} |
@@ -2025,8 +2023,10 @@ views::View* AutofillDialogViews::InitInputsView(DialogSection section) { |
views::GridLayout::FILL, views::GridLayout::FILL, |
1, 0); |
- if (input.length == DetailInput::LONG) |
+ if (input.length == DetailInput::LONG || |
+ input.length == DetailInput::SHORT_EOL) { |
++column_set_id; |
+ } |
} |
SetIconsForSection(section); |