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