summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_encoding_uitest.cc
diff options
context:
space:
mode:
authorjnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-22 09:37:36 +0000
committerjnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-22 09:37:36 +0000
commitd5360f6382fa123a5205656f3c6cfdfbef777f87 (patch)
treea54229c43e981887bc1e97ac10440474794da11c /chrome/browser/browser_encoding_uitest.cc
parent6f408bf3f9f2839c26a75252f9f360999931e3df (diff)
downloadchromium_src-d5360f6382fa123a5205656f3c6cfdfbef777f87.zip
chromium_src-d5360f6382fa123a5205656f3c6cfdfbef777f87.tar.gz
chromium_src-d5360f6382fa123a5205656f3c6cfdfbef777f87.tar.bz2
Use size_t to fix compilation error.
TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_encoding_uitest.cc')
-rw-r--r--chrome/browser/browser_encoding_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_encoding_uitest.cc b/chrome/browser/browser_encoding_uitest.cc
index 64ef3a9..d09400a 100644
--- a/chrome/browser/browser_encoding_uitest.cc
+++ b/chrome/browser/browser_encoding_uitest.cc
@@ -95,7 +95,7 @@ TEST_F(BrowserEncodingTest, TestEncodingAliasMapping) {
FilePath test_dir_path = FilePath::FromWStringHack(kTestDir);
test_dir_path =
test_dir_path.Append(FilePath::FromWStringHack(kAliasTestDir));
- for (int i = 0; i < ARRAYSIZE_UNSAFE(kEncodingTestDatas); ++i) {
+ for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kEncodingTestDatas); ++i) {
FilePath test_file_path(test_dir_path);
test_file_path = test_file_path.Append(
FilePath::FromWStringHack(kEncodingTestDatas[i].file_name));
@@ -247,7 +247,7 @@ TEST_F(BrowserEncodingTest, TestEncodingAutoDetect) {
test_dir_path =
test_dir_path.Append(FilePath::FromWStringHack(kAutoDetectDir));
- for (int i = 0;i < ARRAYSIZE_UNSAFE(kTestDatas);i++) {
+ for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestDatas);i++) {
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get());