Index: Source/modules/crypto/NormalizeAlgorithm.cpp |
diff --git a/Source/modules/crypto/NormalizeAlgorithm.cpp b/Source/modules/crypto/NormalizeAlgorithm.cpp |
index e17aa875cce420e5dca363d8b1b221a0e240027c..239338a77ea4089a73f633361bef5c807d549dfb 100644 |
--- a/Source/modules/crypto/NormalizeAlgorithm.cpp |
+++ b/Source/modules/crypto/NormalizeAlgorithm.cpp |
@@ -171,7 +171,7 @@ private: |
AlgorithmNameToIdMap m_algorithmNameToId; |
// Algorithm ID to information. |
- AlgorithmInfo m_algorithms[blink::NumberOfWebCryptoAlgorithmId]; |
+ AlgorithmInfo m_algorithms[blink::WebCryptoAlgorithmIdLast + 1]; |
}; |
AlgorithmRegistry& AlgorithmRegistry::instance() |