| Index: Source/bindings/tests/results/V8TestTypedefs.h
|
| diff --git a/Source/bindings/tests/results/V8TestTypedefs.h b/Source/bindings/tests/results/V8TestTypedefs.h
|
| index 4b9af5ce7a810cca16034a539527fc2cb12d1c77..20b344cf7cb19fdf6ca2227f3c34db50a273bf5f 100644
|
| --- a/Source/bindings/tests/results/V8TestTypedefs.h
|
| +++ b/Source/bindings/tests/results/V8TestTypedefs.h
|
| @@ -63,6 +63,12 @@ inline v8::Handle<v8::Object> wrap(TestTypedefs* impl, v8::Handle<v8::Object> cr
|
| {
|
| ASSERT(impl);
|
| ASSERT(DOMDataStore::getWrapper(impl, isolate).IsEmpty());
|
| + if (ScriptWrappable::wrapperCanBeStoredInObject(impl)) {
|
| + const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl);
|
| + // Might be a XXXConstructor::info instead of an XXX::info. These will both have
|
| + // the same object de-ref functions, though, so use that as the basis of the check.
|
| + RELEASE_ASSERT(actualInfo->derefObjectFunction == V8TestTypedefs::info.derefObjectFunction);
|
| + }
|
| return V8TestTypedefs::createWrapper(impl, creationContext, isolate);
|
| }
|
|
|
|
|