summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/language_combobox_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/options/language_combobox_model.cc')
-rw-r--r--chrome/browser/views/options/language_combobox_model.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/views/options/language_combobox_model.cc b/chrome/browser/views/options/language_combobox_model.cc
index 5e960e1..a026ab6 100644
--- a/chrome/browser/views/options/language_combobox_model.cc
+++ b/chrome/browser/views/options/language_combobox_model.cc
@@ -71,13 +71,12 @@ void LanguageComboboxModel::InitNativeNames(
&locale_names_);
}
-// Overridden from views::Combobox::Model:
-int LanguageComboboxModel::GetItemCount(views::Combobox* source) {
+// Overridden from ComboboxModel:
+int LanguageComboboxModel::GetItemCount() {
return static_cast<int>(locale_names_.size());
}
-std::wstring LanguageComboboxModel::GetItemAt(views::Combobox* source,
- int index) {
+std::wstring LanguageComboboxModel::GetItemAt(int index) {
DCHECK(static_cast<int>(locale_names_.size()) > index);
LocaleDataMap::const_iterator it =
native_names_.find(locale_names_[index]);