Chromium Code Reviews| Index: chrome/browser/ui/autofill/autofill_dialog_common.cc |
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc |
| index 7c4db15825a5b791d868e86f72c9a42cf7f502f5..78953d25539554e6e3712f7b63899aefc693a9e7 100644 |
| --- a/chrome/browser/ui/autofill/autofill_dialog_common.cc |
| +++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc |
| @@ -264,7 +264,8 @@ AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( |
| } |
| base::string16 GetHardcodedValueForType(ServerFieldType type) { |
| - if (AutofillType(type).GetStorableType() == ADDRESS_HOME_COUNTRY) { |
| + if (!IsI18nInputEnabled() && |
|
Evan Stade
2014/01/14 17:19:38
nit: could you make this
// TODO(dbeam): remove t
Dan Beam
2014/01/15 03:10:48
Done.
|
| + AutofillType(type).GetStorableType() == ADDRESS_HOME_COUNTRY) { |
| AutofillCountry country("US", g_browser_process->GetApplicationLocale()); |
| return country.name(); |
| } |