Bug 1254752 - Update pocket to use newChannelWithLoadInfo. r=scaraveo

This commit is contained in:
Christoph Kerschbaumer
2016-03-09 13:19:57 -08:00
parent 28be6fe09c
commit b5d51539fb

View File

@@ -108,8 +108,9 @@ PocketAboutPage.prototype = {
Ci.nsIAboutModule.MAKE_UNLINKABLE;
},
newChannel: function(aURI) {
let channel = Services.io.newChannel(this.chromeURL, null, null);
newChannel: function(aURI, aLoadInfo) {
let channel = Services.io.newChannelFromURIWithLoadInfo(this.chromeURL,
aLoadInfo);
channel.originalURI = aURI;
return channel;
},