X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fbindings%2Fmodules%2Fv8%2Fcustom%2FV8CryptoCustom.cpp;h=dc461f90b7421bc244880b4130cc4963b4a6be57;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=8690feaeca772e9e595d10b5d8d5f5ae85fea99c;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp b/src/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp index 8690fea..dc461f9 100644 --- a/src/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp +++ b/src/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp @@ -48,10 +48,10 @@ void V8Crypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo::Cast(buffer)); + ArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Handle::Cast(buffer)); ASSERT(arrayBufferView); - Crypto* crypto = V8Crypto::toNative(info.Holder()); + Crypto* crypto = V8Crypto::toImpl(info.Holder()); crypto->getRandomValues(arrayBufferView, exceptionState); }