summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http
diff options
context:
space:
mode:
authorValentin Gosu <valentin.gosu@gmail.com>2018-02-09 13:20:04 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 11:03:06 +0100
commit8f7686bd7d4034c122ce050de9070e472952cf61 (patch)
tree8e007caec175569333ed31f4c6c25c0fce030f6b /netwerk/protocol/http
parentf87d25ee403c69d4f19a910d7b18f96dd3da8d51 (diff)
downloadUXP-8f7686bd7d4034c122ce050de9070e472952cf61.tar
UXP-8f7686bd7d4034c122ce050de9070e472952cf61.tar.gz
UXP-8f7686bd7d4034c122ce050de9070e472952cf61.tar.lz
UXP-8f7686bd7d4034c122ce050de9070e472952cf61.tar.xz
UXP-8f7686bd7d4034c122ce050de9070e472952cf61.zip
Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic. r=bagder, a=ritu
MozReview-Commit-ID: 6irCJMAjzjW --HG-- extra : rebase_source : 2357ab0b9d1d693dac9e5f4f16f34f370c6591b5 extra : intermediate-source : 48b9f6671588c3c2b8d3b4ea6ba1267f5e297f83 extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
Diffstat (limited to 'netwerk/protocol/http')
-rw-r--r--netwerk/protocol/http/HttpChannelParent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/HttpChannelParent.h b/netwerk/protocol/http/HttpChannelParent.h
index 51fae5a82..a3b377d49 100644
--- a/netwerk/protocol/http/HttpChannelParent.h
+++ b/netwerk/protocol/http/HttpChannelParent.h
@@ -209,7 +209,7 @@ private:
RefPtr<nsHttpChannel> mChannel;
nsCOMPtr<nsICacheEntry> mCacheEntry;
nsCOMPtr<nsIAssociatedContentSecurity> mAssociatedContentSecurity;
- bool mIPCClosed; // PHttpChannel actor has been Closed()
+ Atomic<bool> mIPCClosed; // PHttpChannel actor has been Closed()
nsCOMPtr<nsIChannel> mRedirectChannel;
nsCOMPtr<nsIAsyncVerifyRedirectCallback> mRedirectCallback;