Index: Source/modules/crypto/Crypto.cpp |
diff --git a/Source/modules/crypto/Crypto.cpp b/Source/modules/crypto/Crypto.cpp |
index a2e55daaa82295fd417022c3b1cbe7a6cb09e019..da3613108600f9e85b4f45e43640f2d3f54edde3 100644 |
--- a/Source/modules/crypto/Crypto.cpp |
+++ b/Source/modules/crypto/Crypto.cpp |
@@ -57,6 +57,7 @@ Crypto::Crypto() |
ScriptWrappable::init(this); |
} |
+// Note: This implementation must be thread-safe, as it is used by workers. |
void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) |
{ |
if (!array || !isIntegerArray(array)) { |