Index: mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
index 85d95d6a62822f6658c9c4e993c07bff4ee9f0be..afee2ba2d0173b1ade030298093ae3bd80e3f789 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
@@ -204,7 +204,7 @@ params.{{parameter.name}}{% if not loop.last %}, {% endif -%} |
} |
var {{interface.name}} = { |
- name: '{{namespace|replace(".","::")}}::{{interface.name}}', |
+ name: '{{module.namespace|replace(".","::")}}::{{interface.name}}', |
kVersion: {{interface.version}}, |
ptrClass: {{interface.name}}Ptr, |
proxyClass: {{interface.name}}Proxy, |