Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index 1b061eb908170608b139bd5e5fa7a1c151cc3e6c..58cbf45047f45fbaffac42c6bd7ee131755e56f4 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -869,8 +869,7 @@ def constructor_context(interface, constructor): |
'cpp_type': cpp_template_type( |
cpp_ptr_type('RefPtr', 'RawPtr', gc_type(interface)), |
cpp_name(interface)), |
- 'cpp_value': v8_methods.cpp_value( |
- interface, constructor, len(constructor.arguments)), |
+ 'cpp_value': v8_methods.cpp_value(interface, constructor), |
'has_exception_state': |
is_constructor_raises_exception or |
any(argument for argument in constructor.arguments |