Index: mojo/public/js/interface_types.js |
diff --git a/mojo/public/js/interface_types.js b/mojo/public/js/interface_types.js |
index e3c06559792edcb2c2037cb2afaa73416688937b..03ba2ba4e9374e671dd44446a4ee5a5151ab6d3e 100644 |
--- a/mojo/public/js/interface_types.js |
+++ b/mojo/public/js/interface_types.js |
@@ -66,6 +66,10 @@ define("mojo/public/js/interface_types", [ |
return this.interfaceEndpointHandle.isValid(); |
}; |
+ AssociatedInterfaceRequest.prototype.resetWithReason = function(reason) { |
+ this.interfaceEndpointHandle.reset(reason); |
+ }; |
+ |
function isMasterInterfaceId(interfaceId) { |
return interfaceId === kMasterInterfaceId; |
} |