Index: Source/bindings/scripts/code_generator_v8.pm |
diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm |
index 886ed7d7003417adba21f53f45d0ac51515a35f9..e20239165ab6874bdd50d9908c2f3950a3244ecf 100644 |
--- a/Source/bindings/scripts/code_generator_v8.pm |
+++ b/Source/bindings/scripts/code_generator_v8.pm |
@@ -3110,7 +3110,7 @@ sub GenerateAttributeConfigurationParameters |
$getterForMainWorld = "${getter}ForMainWorld"; |
$setterForMainWorld = "${setter}ForMainWorld"; |
- if (!HasCustomSetter($attribute) && $attrExt->{"Replaceable"}) { |
+ if (!HasCustomSetter($attribute) && !$attrExt->{"PutForwards"} && $attrExt->{"Replaceable"}) { |
$setter = "${implClassName}V8Internal::${implClassName}ReplaceableAttributeSetterCallback"; |
$setterForMainWorld = "0"; |
} |
@@ -4088,7 +4088,7 @@ END |
GenerateNormalAttributeGetter($attribute, $interface, "ForMainWorld"); |
GenerateNormalAttributeGetterCallback($attribute, $interface, "ForMainWorld"); |
} |
- if (!HasCustomSetter($attribute) && $attrExt->{"Replaceable"}) { |
+ if (!HasCustomSetter($attribute) && !$attrExt->{"PutForwards"} && $attrExt->{"Replaceable"}) { |
$hasReplaceable = 1; |
} elsif (!IsReadonly($attribute)) { |
GenerateNormalAttributeSetter($attribute, $interface, ""); |