Index: Source/bindings/tests/results/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp |
index af9e971360c1a8bd7122fcd78ada65951f72ca1c..6a089b901261abaa5bfc76b62f0f55ae53e059d2 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestInterface.cpp |
@@ -1308,7 +1308,8 @@ |
V8WrapperInstantiationScope scope(creationContext, isolate); |
TestInterfaceImplementation* referencedName = impl->referencedName(); |
if (referencedName) { |
- ASSERT(DOMDataStore::containsWrapper<V8TestInterface>(referencedName, isolate)); |
+ if (!DOMDataStore::containsWrapper<V8TestInterface>(referencedName, isolate)) |
+ wrap(referencedName, creationContext, isolate); |
DOMDataStore::setWrapperReference<V8TestInterface>(wrapper, referencedName, isolate); |
} |
setObjectGroup(object, wrapper, isolate); |