| Index: Source/modules/crypto/Crypto.cpp
|
| diff --git a/Source/modules/crypto/Crypto.cpp b/Source/modules/crypto/Crypto.cpp
|
| index fbbebc6249067d2a2a74e9412504de1a52f113a7..1ad5b2f2106a031c92d08ed0484f69216e4a9e96 100644
|
| --- a/Source/modules/crypto/Crypto.cpp
|
| +++ b/Source/modules/crypto/Crypto.cpp
|
| @@ -59,14 +59,14 @@ Crypto::Crypto()
|
| }
|
|
|
| // Note: This implementation must be thread-safe, as it is used by workers.
|
| -void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& es)
|
| +void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState)
|
| {
|
| if (!array || !isIntegerArray(array)) {
|
| - es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| return;
|
| }
|
| if (array->byteLength() > 65536) {
|
| - es.throwUninformativeAndGenericDOMException(QuotaExceededError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(QuotaExceededError);
|
| return;
|
| }
|
| cryptographicallyRandomValues(array->baseAddress(), array->byteLength());
|
|
|