Chromium Code Reviews| Index: Source/bindings/scripts/idl_definitions.py |
| diff --git a/Source/bindings/scripts/idl_definitions.py b/Source/bindings/scripts/idl_definitions.py |
| index 75900355eca89100fba24d90c8022954f5674d3f..ab3b0c500df1f67c40d8160de7fa0c2a832dface 100644 |
| --- a/Source/bindings/scripts/idl_definitions.py |
| +++ b/Source/bindings/scripts/idl_definitions.py |
| @@ -769,7 +769,8 @@ def type_node_inner_to_type(node, is_array=False, is_nullable=False): |
| elif node_class == 'Sequence': |
| if is_array: |
| raise ValueError('Arrays of sequences are not supported') |
| - return sequence_node_to_type(node, is_nullable=is_nullable) |
| + sequence_is_nullable = node.GetProperty('NULLABLE') or False |
|
Jens Widell
2014/07/10 14:31:13
This fixes sequence<T>?; we previously used the NU
|
| + return sequence_node_to_type(node, is_nullable=sequence_is_nullable) |
| elif node_class == 'UnionType': |
| if is_array: |
| raise ValueError('Arrays of unions are not supported') |