Index: Source/bindings/modules/v8/custom/V8CryptoCustom.cpp |
diff --git a/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp b/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp |
index 8690feaeca772e9e595d10b5d8d5f5ae85fea99c..dc461f90b7421bc244880b4130cc4963b4a6be57 100644 |
--- a/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp |
+++ b/Source/bindings/modules/v8/custom/V8CryptoCustom.cpp |
@@ -48,10 +48,10 @@ void V8Crypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Va |
if (!V8ArrayBufferView::hasInstance(buffer, info.GetIsolate())) { |
exceptionState.throwTypeError("First argument is not an ArrayBufferView"); |
} else { |
- ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(buffer)); |
+ ArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Handle<v8::Object>::Cast(buffer)); |
ASSERT(arrayBufferView); |
- Crypto* crypto = V8Crypto::toNative(info.Holder()); |
+ Crypto* crypto = V8Crypto::toImpl(info.Holder()); |
crypto->getRandomValues(arrayBufferView, exceptionState); |
} |