Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index 916c84148456587a745e96ad7a2f1d2a71f6692e..255050ae9972b4649c7d882d8c5221133c496677 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -237,7 +237,7 @@ ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate()); |
{% endif %} |
{% if method.is_call_with_script_arguments %} |
-RefPtr<ScriptArguments> scriptArguments(createScriptArguments(info, {{method.number_of_arguments}})); |
+RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, {{method.number_of_arguments}})); |
{% endif %} |
{# Call #} |
{% if method.idl_type == 'void' %} |