summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpChannel.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-07 12:45:54 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-07 12:45:54 +0100
commitd38ddd92e159113aae22c4dc8f03dc2285e01b14 (patch)
treee7b7b0f0604856a7fb9fed588dd2ba8be7da61b9 /netwerk/protocol/http/nsHttpChannel.cpp
parent7e0d3b80f114a1905003804c35cd863d634ecdbb (diff)
downloadUXP-d38ddd92e159113aae22c4dc8f03dc2285e01b14.tar
UXP-d38ddd92e159113aae22c4dc8f03dc2285e01b14.tar.gz
UXP-d38ddd92e159113aae22c4dc8f03dc2285e01b14.tar.lz
UXP-d38ddd92e159113aae22c4dc8f03dc2285e01b14.tar.xz
UXP-d38ddd92e159113aae22c4dc8f03dc2285e01b14.zip
Part 1: network component changes.
Diffstat (limited to 'netwerk/protocol/http/nsHttpChannel.cpp')
-rw-r--r--netwerk/protocol/http/nsHttpChannel.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/netwerk/protocol/http/nsHttpChannel.cpp b/netwerk/protocol/http/nsHttpChannel.cpp
index a890c51b3..481df5ff0 100644
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -324,10 +324,16 @@ nsHttpChannel::Init(nsIURI *uri,
nsProxyInfo *proxyInfo,
uint32_t proxyResolveFlags,
nsIURI *proxyURI,
- const nsID& channelId)
-{
- nsresult rv = HttpBaseChannel::Init(uri, caps, proxyInfo,
- proxyResolveFlags, proxyURI, channelId);
+ const nsID& channelId,
+ nsContentPolicyType aContentPolicyType)
+{
+ nsresult rv = HttpBaseChannel::Init(uri,
+ caps,
+ proxyInfo,
+ proxyResolveFlags,
+ proxyURI,
+ channelId,
+ aContentPolicyType);
if (NS_FAILED(rv))
return rv;