| Index: Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| diff --git a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| index ca615aeca0ec06ff7b6eaa9679ff975e4a41f09b..e1509b44c6331fc956b9a0775073b52334b17328 100644
|
| --- a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| +++ b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| @@ -63,6 +63,12 @@ inline v8::Handle<v8::Object> wrap(TestSerializedScriptValueInterface* impl, v8:
|
| {
|
| 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 == V8TestSerializedScriptValueInterface::info.derefObjectFunction);
|
| + }
|
| return V8TestSerializedScriptValueInterface::createWrapper(impl, creationContext, isolate);
|
| }
|
|
|
|
|