| Index: content/child/multipart_response_delegate_unittest.cc
|
| diff --git a/content/child/multipart_response_delegate_unittest.cc b/content/child/multipart_response_delegate_unittest.cc
|
| index 450acf758c49680fc2e6e746c30902047f980948..182a1f30fffcd8eb2a039da0b67e590713d2eeff 100644
|
| --- a/content/child/multipart_response_delegate_unittest.cc
|
| +++ b/content/child/multipart_response_delegate_unittest.cc
|
| @@ -122,7 +122,7 @@ TEST(MultipartResponseTest, Functions) {
|
| { "Line\rLine", 4, 1 },
|
| { "Line\r\rLine", 4, 1 },
|
| };
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(line_tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(line_tests); ++i) {
|
| EXPECT_EQ(line_tests[i].expected,
|
| delegate_tester.PushOverLine(line_tests[i].input,
|
| line_tests[i].position));
|
| @@ -144,7 +144,7 @@ TEST(MultipartResponseTest, Functions) {
|
| { "Foo: bar\r\nBaz:\n", false, 0, "Foo: bar\r\nBaz:\n" },
|
| { "\r\n", true, 1, "" },
|
| };
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(header_tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(header_tests); ++i) {
|
| client.Reset();
|
| delegate_tester.data().assign(header_tests[i].data);
|
| EXPECT_EQ(header_tests[i].rv,
|
| @@ -190,7 +190,7 @@ TEST(MultipartResponseTest, Functions) {
|
| { "foo", "bound", string::npos },
|
| { "bound", "--boundbound", 0 },
|
| };
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(boundary_tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(boundary_tests); ++i) {
|
| delegate_tester.boundary().assign(boundary_tests[i].boundary);
|
| delegate_tester.data().assign(boundary_tests[i].data);
|
| EXPECT_EQ(boundary_tests[i].position,
|
|
|