Index: Source/bindings/scripts/v8_attributes.py |
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
index 1ce5249e5bd9ea99de51e6059a3aa3fe4b4ef563..6ffc7f1dac003d975097d06cf4dc2112a80fd7eb 100644 |
--- a/Source/bindings/scripts/v8_attributes.py |
+++ b/Source/bindings/scripts/v8_attributes.py |
@@ -201,6 +201,7 @@ def generate_getter(interface, attribute, contents): |
contents.update({ |
'cpp_value': cpp_value, |
+ 'cpp_value_to_v8_value': idl_type.cpp_value_to_v8_value(cpp_value=cpp_value, creation_context='info.Holder()'), |
'v8_set_return_value_for_main_world': v8_set_return_value_statement(for_main_world=True), |
'v8_set_return_value': v8_set_return_value_statement(), |
}) |