| Index: Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfacePython2.cpp b/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| index 08f0efd9fc1ac7b2e396b30bd47a74df8296b483..35e6774afee958aed1c35bc6feb2ae661d96156f 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| @@ -126,6 +126,11 @@ bool V8TestInterfacePython2::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isol
|
| || V8PerIsolateData::from(isolate)->hasInstanceInNonMainWorld(&wrapperTypeInfo, jsValue);
|
| }
|
|
|
| +TestInterfacePython2* V8TestInterfacePython2::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
|
| +{
|
| + return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
|
| +}
|
| +
|
| v8::Handle<v8::Object> wrap(TestInterfacePython2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
|
|