Index: Source/bindings/templates/attributes.cpp |
diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp |
index 57f13e5d888a635a966a66556c263817e5db004b..d503e60014019dd4f707f9ae48b34c9fb68c7d4e 100644 |
--- a/Source/bindings/templates/attributes.cpp |
+++ b/Source/bindings/templates/attributes.cpp |
@@ -48,6 +48,9 @@ const v8::PropertyCallbackInfo<v8::Value>& info |
{% if attribute.is_call_with_execution_context %} |
ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate()); |
{% endif %} |
+ {% if attribute.is_call_with_new_script_state %} |
+ NewScriptState* state = NewScriptState::current(info.GetIsolate()); |
+ {% endif %} |
{% if attribute.is_check_security_for_node or |
attribute.is_getter_raises_exception %} |
ExceptionState exceptionState(ExceptionState::GetterContext, "{{attribute.name}}", "{{interface_name}}", holder, info.GetIsolate()); |