| Index: third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp b/third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp
|
| index 216b614d9c8aeae4a0502081cce19db0f6db6ada..a9c9739cee789af9b1c6828130e6df0d5fba1b03 100644
|
| --- a/third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp
|
| @@ -83,11 +83,11 @@ HashAlgorithm SubresourceIntegrity::getPrioritizedHashFunction(HashAlgorithm alg
|
| break;
|
| case HashAlgorithmSha384:
|
| weakerAlgorithms = weakerThanSha384;
|
| - length = ARRAY_SIZE(weakerThanSha384);
|
| + length = WTF_ARRAY_LENGTH(weakerThanSha384);
|
| break;
|
| case HashAlgorithmSha512:
|
| weakerAlgorithms = weakerThanSha512;
|
| - length = ARRAY_SIZE(weakerThanSha512);
|
| + length = WTF_ARRAY_LENGTH(weakerThanSha512);
|
| break;
|
| default:
|
| ASSERT_NOT_REACHED();
|
|
|