| Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| index 8c4b88f86dbdcf6eb31f806c1adc5e0aa84e58ca..fd2e2e873c6615d5debb97d23fde86333036ed1c 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| @@ -129,6 +129,11 @@ bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> jsValue
|
| || V8PerIsolateData::from(isolate)->hasInstanceInNonMainWorld(&wrapperTypeInfo, jsValue);
|
| }
|
|
|
| +TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::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> V8TestInterfaceCustomConstructor::createWrapper(PassRefPtr<TestInterfaceCustomConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
|
|