| Index: Source/bindings/scripts/code_generator_v8.py
|
| diff --git a/Source/bindings/scripts/code_generator_v8.py b/Source/bindings/scripts/code_generator_v8.py
|
| index 57c5b19714508159a751ec8872bcdaf1830a67bb..042d51d563bb2fb66f68fe91a580242cc3efe9af 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.py
|
| +++ b/Source/bindings/scripts/code_generator_v8.py
|
| @@ -330,7 +330,7 @@ class CodeGeneratorUnionType(object):
|
| header_template = self.jinja_env.get_template('union.h')
|
| cpp_template = self.jinja_env.get_template('union.cpp')
|
| template_context = v8_union.union_context(
|
| - union_types, self.info_provider.interfaces_info)
|
| + union_types, self.info_provider.interfaces_info, self.target_component)
|
| template_context['code_generator'] = module_pyname
|
| capitalized_component = self.target_component.capitalize()
|
| template_context['header_filename'] = 'bindings/%s/v8/UnionTypes%s.h' % (
|
|
|