Bug 243621 Standardize QueryInterface without throw

r=neil sr=darin
This commit is contained in:
timeless%mozdev.org 2004-05-18 09:13:28 +00:00
parent 7b6a93e7f8
commit fd28dba6de

View File

@ -506,10 +506,10 @@ sampleJSTransaction.prototype = {
return false;
},
QueryInterface: function(aUID, theResult)
QueryInterface: function(aIID, theResult)
{
if (aUID.equals(Components.interfaces.nsITransaction) ||
aUID.equals(Components.interfaces.nsISupports))
if (aIID.equals(Components.interfaces.nsITransaction) ||
aIID.equals(Components.interfaces.nsISupports))
return this;
Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE;