Index: Source/modules/crypto/Crypto.cpp |
diff --git a/Source/modules/crypto/Crypto.cpp b/Source/modules/crypto/Crypto.cpp |
index da3613108600f9e85b4f45e43640f2d3f54edde3..388769a30e46a028a8da1d0ad472a4c319264989 100644 |
--- a/Source/modules/crypto/Crypto.cpp |
+++ b/Source/modules/crypto/Crypto.cpp |
@@ -61,7 +61,7 @@ Crypto::Crypto() |
void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) |
{ |
if (!array || !isIntegerArray(array)) { |
- ec = TYPE_MISMATCH_ERR; |
+ ec = TypeMismatchError; |
return; |
} |
if (array->byteLength() > 65536) { |