Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index c9ddcca88e218b8ead01c9e4620cfad338eac6b5..168ad3115058256d63d5bda388590a09df74b1de 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -19,7 +19,7 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
{% endif %} |
{% if method.is_raises_exception %} |
- ExceptionState exceptionState(info.GetIsolate()); |
+ ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
{% endif %} |
{% if method.is_check_security_for_node %} |
if (!BindingSecurity::shouldAllowAccessToNode(imp->{{method.name}}(exceptionState), exceptionState)) { |