Chromium Code Reviews

Unified Diff: chrome/browser/views/options/language_combobox_model.cc

Issue 113991: Make Combobox portable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/views/options/language_combobox_model.cc
===================================================================
--- chrome/browser/views/options/language_combobox_model.cc (revision 17310)
+++ chrome/browser/views/options/language_combobox_model.cc (working copy)
@@ -73,11 +73,11 @@
}
// 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 =
« no previous file with comments | « chrome/browser/views/options/language_combobox_model.h ('k') | chrome/browser/views/options/languages_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine