| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_params_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_params_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_params_unittest.cc
|
| index 2cc41869f49a0f8abbe786c83ddb8d291941ec30..2e27422a0b6205f5a7832912b366181f8037f13e 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_params_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_params_unittest.cc
|
| @@ -508,7 +508,7 @@ TEST_F(DataReductionProxyParamsTest, InvalidConfigurations) {
|
| },
|
| };
|
|
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(tests); ++i) {
|
| int flags = 0;
|
| if (tests[i].allowed)
|
| flags |= DataReductionProxyParams::kAllowed;
|
| @@ -696,7 +696,7 @@ TEST_F(DataReductionProxyParamsTest, IsDataReductionProxy) {
|
| false
|
| },
|
| };
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(tests); ++i) {
|
| int flags = DataReductionProxyParams::kAllowed |
|
| DataReductionProxyParams::kAlternativeAllowed;
|
| if (tests[i].fallback_allowed)
|
| @@ -1077,7 +1077,7 @@ TEST_F(DataReductionProxyParamsTest, AreProxiesBypassed) {
|
| std::string ssl_origin = GetRetryMapKeyFromOrigin(
|
| TestDataReductionProxyParams::DefaultSSLOrigin());
|
|
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
|
| + for (size_t i = 0; i < arraysize(tests); ++i) {
|
| int flags = 0;
|
| if (tests[i].allowed)
|
| flags |= DataReductionProxyParams::kAllowed;
|
|
|