Index: Source/bindings/scripts/v8_attributes.py |
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
index b50ab4e80beabb8baf974ba9c2e7c7f602e36320..3fed35bb61ee477fa05c3371c23cf27ad865ece7 100644 |
--- a/Source/bindings/scripts/v8_attributes.py |
+++ b/Source/bindings/scripts/v8_attributes.py |
@@ -169,6 +169,7 @@ def generate_getter(interface, attribute, contents): |
if (idl_type.is_nullable or |
base_idl_type == 'EventHandler' or |
'CachedAttribute' in extended_attributes or |
+ 'ReflectOnly' in extended_attributes or |
contents['is_getter_raises_exception']): |
contents['cpp_value_original'] = cpp_value |
cpp_value = 'jsValue' |
@@ -176,11 +177,6 @@ def generate_getter(interface, attribute, contents): |
if base_idl_type != 'EventHandler' and idl_type.is_interface_type: |
release = True |
- if 'ReflectOnly' in extended_attributes: |
- contents['cpp_value_original'] = cpp_value |
- # FIXME: rename to jsValue |
- cpp_value = 'resultValue' |
- |
def v8_set_return_value_statement(for_main_world=False): |
if contents['is_keep_alive_for_gc']: |
return 'v8SetReturnValue(info, wrapper)' |