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

Unified Diff: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl

Issue 890843003: Revert of Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
index 863d18fe4bb8e13082a31e2ff04ace901c551446..1ddcc45c39dde0f3b5a783901c988ec10c8a0942 100644
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
@@ -8,7 +8,6 @@
#elif defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4056)
-#pragma warning(disable:4065)
#pragma warning(disable:4756)
#endif
@@ -64,11 +63,6 @@
{%- include "struct_definition.tmpl" %}
{%- endfor %}
-{#--- Union definitions #}
-{% for union in unions %}
-{%- include "union_definition.tmpl" %}
-{%- endfor %}
-
} // namespace internal
{#--- Struct Constants #}
@@ -83,11 +77,6 @@
{%- include "wrapper_class_definition.tmpl" %}
{%- endfor %}
-{#--- Union builder definitions #}
-{%- for union in unions %}
-{%- include "wrapper_union_class_definition.tmpl" %}
-{%- endfor %}
-
{#--- Interface definitions #}
{%- for interface in interfaces %}
{%- include "interface_definition.tmpl" %}
@@ -96,11 +85,6 @@
{#--- Struct Serialization Helpers #}
{%- for struct in structs %}
{%- include "struct_serialization_definition.tmpl" %}
-{%- endfor %}
-
-{#--- Union Serialization Helpers #}
-{%- for union in unions %}
-{%- include "union_serialization_definition.tmpl" %}
{%- endfor %}
{%- for namespace in namespaces_as_array|reverse %}

Powered by Google App Engine
This is Rietveld 408576698