Index: Source/bindings/scripts/v8_attributes.py |
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
index be2e12db441ab770159a654f30b13e7f972bb063..9a4923c68969245e74ca3821ab5ce8f6cdf9592c 100644 |
--- a/Source/bindings/scripts/v8_attributes.py |
+++ b/Source/bindings/scripts/v8_attributes.py |
@@ -173,6 +173,7 @@ def getter_context(interface, attribute, context): |
base_idl_type == 'EventHandler' or |
'CachedAttribute' in extended_attributes or |
'ReflectOnly' in extended_attributes or |
+ context['is_keep_alive_for_gc'] or |
context['is_getter_raises_exception']): |
context['cpp_value_original'] = cpp_value |
cpp_value = 'v8Value' |