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

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

Issue 1916863003: Delete the |complete_type_set| field from mojom_types.mojom (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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/interface_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
index 1c59772f6f473d523aaa8afb3b677f9b2ef6ded4..31fc778eef0c66b88610d9bbd754e878d2351dd6 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
@@ -11,7 +11,7 @@ const int _{{interface|name|lower_camel}}Method{{method|name|upper_camel}}Name =
class _{{interface|name}}ServiceDescription implements {{descpkg}}ServiceDescription {
{%- if should_gen_mojom_types and interface.service_name %}
dynamic getTopLevelInterface([Function responseFactory]){
- var interfaceTypeKey = getRuntimeTypeInfo().servicesByName["{{interface.service_name}}"].topLevelInterface;
+ var interfaceTypeKey = getRuntimeTypeInfo().services["{{interface.service_name}}"];
var userDefinedType = getAllMojomTypeDefinitions()[interfaceTypeKey];
return responseFactory(userDefinedType.interfaceType);
}
« no previous file with comments | « mojo/public/interfaces/bindings/mojom_types.mojom ('k') | mojo/public/tools/bindings/generators/go_templates/interface.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698