| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 604556c7202e9b1f8289be6b5922a419a845f22c..db8d3c11af3be14fe7c8e391094fd33583b0a768 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -210,6 +210,7 @@ if (!{{argument.name}}.isUndefinedOrNull() && !{{argument.name}}.isObject()) {
|
| {% macro cpp_method_call(method, v8_set_return_value, cpp_value) %}
|
| {# Local variables #}
|
| {% if method.is_call_with_script_state %}
|
| +{# [ConstructorCallWith=ScriptState] #}
|
| {# [CallWith=ScriptState] #}
|
| ScriptState* scriptState = ScriptState::current(info.GetIsolate());
|
| {% endif %}
|
|
|