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

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

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 6 years 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/struct_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl b/mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl
index 88f279400707c00f3006c35d6dc017710e53c57e..6e18dc89f36b683b70f7703f681d7540ce77d805 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl
@@ -53,7 +53,6 @@ class {{struct.name}} {
var packed;
encoder.writeUint32({{struct.name}}.encodedSize);
encoder.writeUint32({{struct.packed.packed_fields|length}});
-
{%- for byte in struct.bytes %}
{%- if byte.packed_fields|length > 1 %}
packed = 0;
@@ -71,4 +70,4 @@ class {{struct.name}} {
{%- endif %}
{%- endfor %}
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698