Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 746bf9c15d680356c88b8995b056cb81fce76e99..2ae989e49e4c45bf47bfeb76a814eaf0cfd8f970 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -422,8 +422,8 @@ def impl_includes_for_type(idl_type, interfaces_info): |
if idl_type.is_string_type: |
includes_for_type.add('wtf/text/WTFString.h') |
- if idl_type.name in interfaces_info: |
- interface_info = interfaces_info[idl_type.name] |
+ if idl_type.base_type in interfaces_info: |
+ interface_info = interfaces_info[idl_type.base_type] |
includes_for_type.add(interface_info['include_path']) |
return includes_for_type |