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

Unified Diff: ui/app_list/app_list_model.cc

Issue 10386118: ui: Do not expose the underline type (vector) used in ListModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | ui/base/models/list_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model.cc
diff --git a/ui/app_list/app_list_model.cc b/ui/app_list/app_list_model.cc
index 161d15982cebba942816c3baf84aa7d6fc082cf4..529ed161a594385edacc57d66703ee2f8ddb9996 100644
--- a/ui/app_list/app_list_model.cc
+++ b/ui/app_list/app_list_model.cc
@@ -25,7 +25,7 @@ void AppListModel::DeleteItemAt(int index) {
}
AppListItemModel* AppListModel::GetItemAt(int index) {
- return items_.item_at(index);
+ return items_.GetItemAt(index);
}
void AppListModel::AddObserver(ui::ListModelObserver* observer) {
« no previous file with comments | « no previous file | ui/base/models/list_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698