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 0f442b8e3ed8a1830c46c54eec5714e640e541e8..1b5cafa01e4501e67a3e9694bdb55d818a98513e 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
@@ -161,7 +161,7 @@ |
} |
var {{interface.name}} = { |
- name: '{{namespace}}.{{interface.name}}', |
+ name: '{{namespace|replace(".","::")}}::{{interface.name}}', |
proxyClass: {{interface.name}}Proxy, |
stubClass: {{interface.name}}Stub, |
validateRequest: validate{{interface.name}}Request, |