| Index: third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
|
| index 477de5ce8a52c860a559e8fc4e44ee1a78619a40..9c44520231c0d4613846461908a67855d20126ae 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
|
| @@ -72,6 +72,10 @@ def depending_union_type(idl_type):
|
| def find_base_type(current_type):
|
| if current_type.is_array_or_sequence_type:
|
| return find_base_type(current_type.element_type)
|
| + if current_type.is_record_type:
|
| + # IdlRecordType.key_type is always a string type, so we only need
|
| + # to looking into value_type.
|
| + return find_base_type(current_type.value_type)
|
| if current_type.is_nullable:
|
| return find_base_type(current_type.inner_type)
|
| return current_type
|
|
|