mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking)
This commit is contained in:
parent
1470527e28
commit
811a9cb829
@ -40,7 +40,7 @@ MailtoProtocolHandler.prototype = {
|
||||
},
|
||||
|
||||
newChannel: function Proto_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
classID: Components.ID("{50777e53-0331-4366-a191-900999be386c}"),
|
||||
|
@ -66,7 +66,7 @@ SmsProtocolHandler.prototype = {
|
||||
},
|
||||
|
||||
newChannel: function Proto_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
classID: Components.ID("{81ca20cb-0dad-4e32-8566-979c8998bd73}"),
|
||||
|
@ -52,7 +52,7 @@ TelProtocolHandler.prototype = {
|
||||
},
|
||||
|
||||
newChannel: function Proto_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
classID: Components.ID("{782775dd-7351-45ea-aff1-0ffa872cfdd2}"),
|
||||
|
@ -85,7 +85,7 @@ Protocol.prototype = {
|
||||
},
|
||||
|
||||
newChannel: function Proto_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -28,7 +28,7 @@ let CustomChromeProtocol = {
|
||||
},
|
||||
|
||||
newChannel: function CCP_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
allowPort: function CCP_allowPort(aPort, aScheme) {
|
||||
|
Loading…
Reference in New Issue
Block a user