From 1e419d42be673bd9b67e4576e8e2b8d5c8c3e0b9 Mon Sep 17 00:00:00 2001 From: "michaeln@chromium.org" <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 8 Jan 2010 22:00:35 +0000 Subject: Build fix TEST=none BUG=none TBR=japhet Review URL: http://codereview.chromium.org/535002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35833 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/appcache/appcache_database_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webkit') diff --git a/webkit/appcache/appcache_database_unittest.cc b/webkit/appcache/appcache_database_unittest.cc index 2ee25da..b2a35c5 100644 --- a/webkit/appcache/appcache_database_unittest.cc +++ b/webkit/appcache/appcache_database_unittest.cc @@ -498,14 +498,14 @@ TEST(AppCacheDatabaseTest, DeletableResponseIds) { ids.clear(); EXPECT_TRUE(db.GetDeletableResponseIds(&ids, kint64max, 5)); EXPECT_EQ(5U, ids.size()); - for (size_t i = 0; i < ids.size(); ++i) + for (int i = 0; i < static_cast<int>(ids.size()); ++i) EXPECT_EQ(i, ids[i]); // Ensure the max_rowid is respected (the first rowid is 1). ids.clear(); EXPECT_TRUE(db.GetDeletableResponseIds(&ids, 5, 100)); EXPECT_EQ(5U, ids.size()); - for (size_t i = 0; i < ids.size(); ++i) + for (int i = 0; i < static_cast<int>(ids.size()); ++i) EXPECT_EQ(i, ids[i]); // Ensure that we can delete from the table. @@ -513,7 +513,7 @@ TEST(AppCacheDatabaseTest, DeletableResponseIds) { ids.clear(); EXPECT_TRUE(db.GetDeletableResponseIds(&ids, kint64max, 100)); EXPECT_EQ(5U, ids.size()); - for (size_t i = 0; i < ids.size(); ++i) + for (int i = 0; i < static_cast<int>(ids.size()); ++i) EXPECT_EQ(i + 5, ids[i]); } -- cgit v1.1