Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp |
diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
index 110f8829dea35d1c13145a232d5781e56700e613..b4040348af991785e2b18fd895d98f3b3157e99a 100644 |
--- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
+++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
@@ -232,7 +232,7 @@ bool CustomElementConstructorBuilder::didRegisterDefinition(CustomElementDefinit |
ScriptValue CustomElementConstructorBuilder::bindingsReturnValue() const |
{ |
- return ScriptValue(m_constructor); |
+ return ScriptValue(m_constructor, m_context->GetIsolate()); |
} |
bool CustomElementConstructorBuilder::hasValidPrototypeChainFor(WrapperTypeInfo* type) const |