| Index: mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl b/mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl
|
| index d93f9024f3635af6c8ff60adb9cd2c047821e96e..ce21c47639104ce01356bebc070727ea9d9e4dc2 100644
|
| --- a/mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl
|
| @@ -3,10 +3,10 @@
|
| // found in the LICENSE file.
|
|
|
| {%- macro registerType(mapping, typepkg, pkg, type) -%}
|
| -{%- if type|identifier|identifier_check('RegisterType') -%}{# Already printed out #}
|
| +{%- if type|identifier|identifier_check -%}{# Already printed out #}
|
| {%- elif type|package != '' -%} {# Don't print. That package will do it. #}
|
| {%- else -%}
|
| -{{type|identifier|identifier_store('RegisterType')}}
|
| +{{type|identifier|identifier_store}}
|
|
|
| {%- if type|mojom_type(typepkg) != "" -%}{#- simple kind case: do nothing -#}
|
| {%- elif type|is_array -%}
|
|
|