| Index: Source/bindings/tests/results/V8TestActiveDOMObject.h
|
| diff --git a/Source/bindings/tests/results/V8TestActiveDOMObject.h b/Source/bindings/tests/results/V8TestActiveDOMObject.h
|
| index 19f73ad4f44ae97a5dabf72e423ff7fc60be63be..af480698c5ebfd15653aadd4ed2dbc79d33b6b90 100644
|
| --- a/Source/bindings/tests/results/V8TestActiveDOMObject.h
|
| +++ b/Source/bindings/tests/results/V8TestActiveDOMObject.h
|
| @@ -62,6 +62,12 @@ inline v8::Handle<v8::Object> wrap(TestActiveDOMObject* impl, v8::Handle<v8::Obj
|
| {
|
| 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 == V8TestActiveDOMObject::info.derefObjectFunction);
|
| + }
|
| return V8TestActiveDOMObject::createWrapper(impl, creationContext, isolate);
|
| }
|
|
|
|
|