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