| Index: Source/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8ArrayBufferViewCustom.cpp b/Source/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
|
| index 4f00d0df9333a1f0dc7524016bc248db1036b54e..5ee873dd6cb78609584747c55046712e3da8cd5f 100644
|
| --- a/Source/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
|
| @@ -82,5 +82,9 @@ ArrayBufferView* V8ArrayBufferView::toNative(v8::Handle<v8::Object> object)
|
| return 0;
|
| }
|
|
|
| +ArrayBufferView* V8ArrayBufferView::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
|
| +{
|
| + return V8ArrayBufferView::hasInstance(value, isolate) ? V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(value)) : 0;
|
| +}
|
|
|
| } // namespace WebCore
|
|
|