| Index: Source/bindings/tests/results/V8TestNamedConstructor.h
|
| diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.h b/Source/bindings/tests/results/V8TestNamedConstructor.h
|
| index 85ec5fdbd0e5b051cd2f4dcc73544bb6a7025ef5..4d1bf35a645ff2d0b91f2c81a9ea2373a4334e46 100644
|
| --- a/Source/bindings/tests/results/V8TestNamedConstructor.h
|
| +++ b/Source/bindings/tests/results/V8TestNamedConstructor.h
|
| @@ -69,6 +69,11 @@ inline v8::Handle<v8::Object> wrap(TestNamedConstructor* impl, v8::Handle<v8::Ob
|
| {
|
| ASSERT(impl);
|
| ASSERT(DOMDataStore::getWrapper(impl, isolate).IsEmpty());
|
| + if (ScriptWrappable::wrapperCanBeStoredInObject(impl)) {
|
| + const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl);
|
| + if (actualInfo != &V8TestNamedConstructor::info)
|
| + CRASH();
|
| + }
|
| return V8TestNamedConstructor::createWrapper(impl, creationContext, isolate);
|
| }
|
|
|
|
|