summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_url_tracker_unittest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-16 20:34:39 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-16 20:34:39 +0000
commit91136d35aa4750c172c9cc709ae2e89d892923df (patch)
treeaeab29c8dade042475a353737ec60d21aed23a3f /chrome/browser/google_url_tracker_unittest.cc
parent6752e8bf9229eb6beafeedf03dccecc9cf7e9956 (diff)
downloadchromium_src-91136d35aa4750c172c9cc709ae2e89d892923df.zip
chromium_src-91136d35aa4750c172c9cc709ae2e89d892923df.tar.gz
chromium_src-91136d35aa4750c172c9cc709ae2e89d892923df.tar.bz2
Reverting 7083,7079.
I tested locally with gcc 4.3, but gcc 4.2 behaves differently and fails. Review URL: http://codereview.chromium.org/14165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7087 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_url_tracker_unittest.cc')
-rw-r--r--chrome/browser/google_url_tracker_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/google_url_tracker_unittest.cc b/chrome/browser/google_url_tracker_unittest.cc
index e4a9aac..80c4976 100644
--- a/chrome/browser/google_url_tracker_unittest.cc
+++ b/chrome/browser/google_url_tracker_unittest.cc
@@ -24,7 +24,7 @@ TEST(GoogleURLTrackerTest, CheckAndConvertURL) {
{ "http://google/", false, "", },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) {
+ for (size_t i = 0; i < arraysize(data); ++i) {
GURL base_url;
const bool can_convert = GoogleURLTracker::CheckAndConvertToGoogleBaseURL(
GURL(data[i].source_url), &base_url);