Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index 1796a4f3c8a03702408219fc9229f85450047e7b..01d455cf1f4c2406f69c4d2872120054df84e626 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -16,7 +16,7 @@ static void {{method.name}}Method{{world_suffix}}(const v8::FunctionCallbackInfo |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
{% endif %} |
{% if method.is_raises_exception %} |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
{% endif %} |
{% if method.is_check_security_for_node %} |
if (!BindingSecurity::shouldAllowAccessToNode(imp->{{method.name}}(es), es)) { |