| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index e059c508cd6564ec2b09fb720ea19162e7d96fa0..865271c40531c6c912a1829f34c4513f3021fdff 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -218,7 +218,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 %}
|
| +{% if method.is_call_with_script_state or method.is_call_with_this_value %}
|
| {# [ConstructorCallWith=ScriptState] #}
|
| {# [CallWith=ScriptState] #}
|
| ScriptState* scriptState = ScriptState::current(info.GetIsolate());
|
|
|