diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-08 22:00:35 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-08 22:00:35 +0000 |
commit | 1e419d42be673bd9b67e4576e8e2b8d5c8c3e0b9 (patch) | |
tree | 729ebb808aa6a18f2ef0074f5f7563bc1aa22c66 /webkit/appcache/appcache_database_unittest.cc | |
parent | 632f27a7215fe8035f0784070cb4bbd9f626dc24 (diff) | |
download | chromium_src-1e419d42be673bd9b67e4576e8e2b8d5c8c3e0b9.zip chromium_src-1e419d42be673bd9b67e4576e8e2b8d5c8c3e0b9.tar.gz chromium_src-1e419d42be673bd9b67e4576e8e2b8d5c8c3e0b9.tar.bz2 |
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
Diffstat (limited to 'webkit/appcache/appcache_database_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_database_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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]); } |