Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index b5dce157bc2d5a7edd9433e158a94e916f9d3cb2..71ea5516e54b8fdc019ea7dedab7b337250eda2c 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -64,7 +64,9 @@ static void (*{{method.name}}MethodForPartialInterface)(const v8::FunctionCallba |
{{attribute_getter(attribute, world_suffix)}} |
{% endif %} |
{{attribute_getter_callback(attribute, world_suffix)}} |
-{% if not attribute.is_read_only or attribute.put_forwards %} |
+{% if (not attribute.is_read_only or |
+ attribute.put_forwards or |
+ (attribute.is_replaceable and attribute.is_expose_js_accessors)) %} |
{% if not attribute.has_custom_setter %} |
{{attribute_setter(attribute, world_suffix)}} |
{% endif %} |