Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl b/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
index e425463eb5b486f4e7d7e5a81d412922a62629cc..cf72c1eede08773aa79afbf6d8fa0f75d044669e 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
@@ -10,8 +10,9 @@ final {{constant.name}} = {{constant.value|expression_to_text}};
{%- endfor %}
{#--- Struct definitions #}
+{%- from "struct_definition.tmpl" import struct_def %}
{% for struct in structs %}
-{%- include "struct_definition.tmpl" %}
+{{ struct_def(struct) }}
{%- endfor -%}
{#--- Interface definitions #}

Powered by Google App Engine
This is Rietveld 408576698