| Index: Source/bindings/v8/custom/V8CryptoCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8CryptoCustom.cpp b/Source/bindings/v8/custom/V8CryptoCustom.cpp
|
| index 337ae07bd45778a50b9ae47a6a27126fb6bea9e7..3c64f1f0b76632d98ef81ab8882cd1136bf5dda3 100644
|
| --- a/Source/bindings/v8/custom/V8CryptoCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8CryptoCustom.cpp
|
| @@ -55,10 +55,10 @@ void V8Crypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Va
|
| ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(buffer));
|
| ASSERT(arrayBufferView);
|
|
|
| - ExceptionState es(info.GetIsolate());
|
| - Crypto::getRandomValues(arrayBufferView, es);
|
| + ExceptionState exceptionState(info.GetIsolate());
|
| + Crypto::getRandomValues(arrayBufferView, exceptionState);
|
|
|
| - if (es.throwIfNeeded())
|
| + if (exceptionState.throwIfNeeded())
|
| return;
|
|
|
| v8SetReturnValue(info, buffer);
|
|
|