diff options
Diffstat (limited to 'chrome/browser/views/options/language_combobox_model.cc')
-rw-r--r-- | chrome/browser/views/options/language_combobox_model.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/options/language_combobox_model.cc b/chrome/browser/views/options/language_combobox_model.cc index 7186032..2503b6a 100644 --- a/chrome/browser/views/options/language_combobox_model.cc +++ b/chrome/browser/views/options/language_combobox_model.cc @@ -73,11 +73,11 @@ void LanguageComboboxModel::InitNativeNames( } // Overridden from views::Combobox::Model: -int LanguageComboboxModel::GetItemCount(views::ComboBox* source) { +int LanguageComboboxModel::GetItemCount(views::Combobox* source) { return static_cast<int>(locale_names_.size()); } -std::wstring LanguageComboboxModel::GetItemAt(views::ComboBox* source, +std::wstring LanguageComboboxModel::GetItemAt(views::Combobox* source, int index) { DCHECK(static_cast<int>(locale_names_.size()) > index); LocaleDataMap::const_iterator it = |