| Index: Source/bindings/scripts/v8_types.py
|
| diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py
|
| index d1dfb9f631a1193524bea2d4f4caad99f6b3f729..3272b297cb642adae4f0699e642618d43089b31b 100644
|
| --- a/Source/bindings/scripts/v8_types.py
|
| +++ b/Source/bindings/scripts/v8_types.py
|
| @@ -938,12 +938,7 @@ def union_literal_cpp_value(idl_type, idl_literal):
|
| def array_or_sequence_literal_cpp_value(idl_type, idl_literal):
|
| # Only support empty arrays.
|
| if idl_literal.value == '[]':
|
| - element_type = idl_type.element_type
|
| - ref_ptr_type = cpp_ptr_type('RefPtr', 'Member', element_type.gc_type)
|
| - inner_type = cpp_template_type(ref_ptr_type, element_type.name)
|
| - vector_type = cpp_ptr_type('Vector', 'HeapVector',
|
| - element_type.gc_type)
|
| - return cpp_template_type(vector_type, inner_type) + '()'
|
| + return cpp_type(idl_type) + '()'
|
| raise ValueError('Unsupported literal type: ' + idl_literal.idl_type)
|
|
|
|
|
|
|