Index: components/query_parser/query_parser_unittest.cc |
diff --git a/components/query_parser/query_parser_unittest.cc b/components/query_parser/query_parser_unittest.cc |
index 0ec141227839d08966119fe59d8a5cbe3da31d35..d78a8fca7c0f2fe18547eb8d58b8e14d95e84e13 100644 |
--- a/components/query_parser/query_parser_unittest.cc |
+++ b/components/query_parser/query_parser_unittest.cc |
@@ -116,7 +116,7 @@ TEST_F(QueryParserTest, ParseQueryNodesAndMatch) { |
{ "\"foo blah\"", "\"foo blah\"", true, 1, 9, 0, 0 }, |
{ "foo blah", "\"foo bar blah\"", true, 1, 4, 9, 13 }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { |
+ for (size_t i = 0; i < arraysize(data); ++i) { |
QueryParser parser; |
ScopedVector<QueryNode> query_nodes; |
parser.ParseQueryNodes(base::UTF8ToUTF16(data[i].query), |
@@ -154,7 +154,7 @@ TEST_F(QueryParserTest, ParseQueryWords) { |
{ "\"foo bar\"", "foo", "bar", "", 2 }, |
{ "\"foo bar\" a", "foo", "bar", "a", 3 }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { |
+ for (size_t i = 0; i < arraysize(data); ++i) { |
std::vector<base::string16> results; |
QueryParser parser; |
parser.ParseQueryWords(base::UTF8ToUTF16(data[i].text), &results); |