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

Unified Diff: chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc

Issue 10408009: ui: Change ListModel to operate in size_t instead of int. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest 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 | « chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc ('k') | ui/app_list/app_list_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc
diff --git a/chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc b/chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc
index c2a176ee181b5f322c421f7d43c5546937e7a18f..37b5dfa8045550d4eba94133926c6b5ef1ecab62 100644
--- a/chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc
+++ b/chrome/browser/ui/views/ash/app_list/app_list_model_builder_unittest.cc
@@ -29,7 +29,7 @@ class TestAppListItemModel : public app_list::AppListItemModel {
// Get a string of all items in |model| joined with ','.
std::string GetModelContent(app_list::AppListModel* model) {
std::string content;
- for (int i = 0; i < model->item_count(); ++i) {
+ for (size_t i = 0; i < model->item_count(); ++i) {
if (i > 0)
content += ',';
content += model->GetItemAt(i)->title();
« no previous file with comments | « chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc ('k') | ui/app_list/app_list_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698