@@ -13,7 +13,7 @@ CtxCapturingListener.prototype = {
1313 } ,
1414 onDataAvailable : function ( request , ctx , inputStream , offset , count ) { } ,
1515 onStopRequest : function ( request , ctx , statusCode ) { } ,
16- QueryInterface : xpcom_generateQI ( [ Ci . nsIStreamListener ] )
16+ QueryInterface : XPCOMUtils . generateQI ( [ Ci . nsIStreamListener ] )
1717} ;
1818
1919function ChannelReplacement ( chan , newURI , newMethod ) {
@@ -211,7 +211,7 @@ ChannelReplacement.prototype = {
211211
212212 _redirectCallback : ( "nsIAsyncVerifyRedirectCallback" in Ci )
213213 ? {
214- QueryInterface : xpcom_generateQI ( [ Ci . nsIAsyncVerifyRedirectCallback ] ) ,
214+ QueryInterface : XPCOMUtils . generateQI ( [ Ci . nsIAsyncVerifyRedirectCallback ] ) ,
215215 onRedirectVerifyCallback : function ( result ) { }
216216 }
217217 : null
@@ -332,7 +332,7 @@ function LoadGroupWrapper(channel, callback) {
332332 channel . loadGroup = this ;
333333}
334334LoadGroupWrapper . prototype = {
335- QueryInterface : xpcom_generateQI ( [ Ci . nsILoadGroup ] ) ,
335+ QueryInterface : XPCOMUtils . generateQI ( [ Ci . nsILoadGroup ] ) ,
336336
337337 get activeCount ( ) {
338338 return this . _inner ? this . _inner . activeCount : 0 ;
@@ -380,7 +380,7 @@ LoadGroupWrapper.prototype = {
380380 if ( this . _channel . loadGroup ) this . _channel . loadGroup = this . _inner ;
381381 } ,
382382 _emptyEnum : {
383- QueryInterface : xpcom_generateQI ( [ Ci . nsISimpleEnumerator ] ) ,
383+ QueryInterface : XPCOMUtils . generateQI ( [ Ci . nsISimpleEnumerator ] ) ,
384384 getNext : function ( ) { return null ; } ,
385385 hasMoreElements : function ( ) { return false ; }
386386 }
0 commit comments