| Index: Source/bindings/templates/attributes.cpp
|
| diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp
|
| index 7cea75265109d460c35c9ca834a67a095319d77f..50f45c10347209f050277f1db47feaf5ed9499ef 100644
|
| --- a/Source/bindings/templates/attributes.cpp
|
| +++ b/Source/bindings/templates/attributes.cpp
|
| @@ -108,6 +108,9 @@ static void {{attribute.name}}AttributeSetter{{world_suffix}}(v8::Local<v8::Stri
|
| {
|
| {{cpp_class_name}}* imp = {{v8_class_name}}::toNative(info.Holder());
|
| {{attribute.v8_value_to_local_cpp_value}};
|
| + {% if attribute.is_call_with_script_execution_context %}
|
| + ExecutionContext* scriptContext = getExecutionContext();
|
| + {% endif %}
|
| {{attribute.cpp_setter}};
|
| {% if attribute.cached_attribute_validation_method %}
|
| info.Holder()->DeleteHiddenValue(v8::String::NewSymbol("{{attribute.name}}")); // Invalidate the cached value.
|
|
|