Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: ui/views/examples/examples_window.cc

Issue 9838092: ui/base/models: Make ComboboxModel::GetItemCount() a constant function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_rel and reland Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/examples/example_combobox_model.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index d5addc350c5dbd2c2be8c23c8986b4067c5c6b47..305d111ff9d37165329623827f5877b1710b1c06 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -54,7 +54,7 @@ class ComboboxModelExampleList : public ui::ComboboxModel {
virtual ~ComboboxModelExampleList() {}
// Overridden from ui::ComboboxModel:
- virtual int GetItemCount() OVERRIDE { return example_list_.size(); }
+ virtual int GetItemCount() const OVERRIDE { return example_list_.size(); }
virtual string16 GetItemAt(int index) OVERRIDE {
return UTF8ToUTF16(example_list_[index]->example_title());
}
« no previous file with comments | « ui/views/examples/example_combobox_model.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698