diff options
author | jnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-22 09:29:34 +0000 |
---|---|---|
committer | jnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-22 09:29:34 +0000 |
commit | 6f408bf3f9f2839c26a75252f9f360999931e3df (patch) | |
tree | 6ce602a7dc0df0cf967ed474ab1ef22fd07cf655 /chrome/browser/browser_encoding_uitest.cc | |
parent | cbeb8bad98f548122e2a84ba51149f698db5da67 (diff) | |
download | chromium_src-6f408bf3f9f2839c26a75252f9f360999931e3df.zip chromium_src-6f408bf3f9f2839c26a75252f9f360999931e3df.tar.gz chromium_src-6f408bf3f9f2839c26a75252f9f360999931e3df.tar.bz2 |
Use ARRAYSIZE_UNSAFE
BUG=none
TEST=none
TBR=jshik
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_encoding_uitest.cc')
-rw-r--r-- | chrome/browser/browser_encoding_uitest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_encoding_uitest.cc b/chrome/browser/browser_encoding_uitest.cc index bbac170..64ef3a9 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(kEncodingTestDatas); ++i) { + for (int 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(kTestDatas);i++) { + for (int i = 0;i < ARRAYSIZE_UNSAFE(kTestDatas);i++) { scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); ASSERT_TRUE(browser.get()); |