| Index: Source/bindings/scripts/v8_methods.py
|
| diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py
|
| index 870cd4d4c79a51e64810647dadc6d8d0bd864ab8..72df396bd4f97d9b236de728cd1d00adcfe3a5ad 100644
|
| --- a/Source/bindings/scripts/v8_methods.py
|
| +++ b/Source/bindings/scripts/v8_methods.py
|
| @@ -225,6 +225,10 @@ def argument_context(interface, method, argument, index, is_visible=True):
|
| this_cpp_type = idl_type.cpp_type_args(extended_attributes=extended_attributes,
|
| raw_type=True,
|
| used_as_variadic_argument=argument.is_variadic)
|
| + if 'RawPrimitives' in method.extended_attributes:
|
| + is_raw_primitive = idl_type.is_primitive_type and has_extended_attribute_value(argument, "Default", "Undefined")
|
| + else:
|
| + is_raw_primitive = False
|
| return {
|
| 'cpp_type': (
|
| v8_types.cpp_template_type('Nullable', this_cpp_type)
|
| @@ -250,6 +254,7 @@ def argument_context(interface, method, argument, index, is_visible=True):
|
| 'is_explicit_nullable': idl_type.is_explicit_nullable,
|
| 'is_nullable': idl_type.is_nullable,
|
| 'is_optional': argument.is_optional,
|
| + 'is_raw_primitive': is_raw_primitive,
|
| 'is_variadic': argument.is_variadic,
|
| 'is_variadic_wrapper_type': is_variadic_wrapper_type,
|
| 'is_wrapper_type': idl_type.is_wrapper_type,
|
|
|