| Index: content/child/webcrypto/test/test_helpers.cc
|
| diff --git a/content/child/webcrypto/test/test_helpers.cc b/content/child/webcrypto/test/test_helpers.cc
|
| index fa45f4d78df86adc3e686e36b3384a002efeafe8..e7f76ff3e532acf087d92a39c8fc01c8016288dc 100644
|
| --- a/content/child/webcrypto/test/test_helpers.cc
|
| +++ b/content/child/webcrypto/test/test_helpers.cc
|
| @@ -234,7 +234,7 @@ blink::WebCryptoAlgorithm GetDigestAlgorithm(base::DictionaryValue* dict,
|
| {"sha-512", blink::WebCryptoAlgorithmIdSha512},
|
| };
|
|
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kDigestNameToId); ++i) {
|
| + for (size_t i = 0; i < arraysize(kDigestNameToId); ++i) {
|
| if (kDigestNameToId[i].name == algorithm_name)
|
| return CreateAlgorithm(kDigestNameToId[i].id);
|
| }
|
|
|