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 9462e8fbca8bd71a2d32b22d2daea4d5fc67cb9e..50bc6fcb203d3c7238f61f2407667c4db66731a7 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
@@ -3,7 +3,7 @@ |
{%- endfor %} |
function {{interface.name}}Proxy(receiver) { |
- this.receiver_ = receiver; |
+ connection.initProxyInstance(this, {{interface.name}}, receiver); |
} |
{{interface.name}}Proxy.prototype.getConnection$ = function() { |