/[jscoverage]/trunk/jscoverage.jsm
ViewVC logotype

Diff of /trunk/jscoverage.jsm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 441 by siliconforks, Tue Jul 14 16:14:24 2009 UTC revision 452 by siliconforks, Thu Aug 20 23:39:53 2009 UTC
# Line 52  Line 52 
52    
53  var JSCoverageUtils = {  var JSCoverageUtils = {
54    QueryInterface: function (aIID) {    QueryInterface: function (aIID) {
55      if (! aIID.equals(nsIObserver) && ! aIID.equals(nsISupports)) {      const Cc = Components.classes;
56        const Ci = Components.interfaces;
57    
58        if (! aIID.equals(Ci.nsIObserver) && ! aIID.equals(Ci.nsISupports)) {
59        throw Components.results.NS_ERROR_NO_INTERFACE;        throw Components.results.NS_ERROR_NO_INTERFACE;
60      }      }
61      return this;      return this;

Legend:
Removed from v.441  
changed lines
  Added in v.452

  ViewVC Help
Powered by ViewVC 1.1.24