summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-11-16 19:09:22 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-11-16 19:17:54 -0500
commit2f4fdced51346e80d760c5bbcb0b3b4690f4ce7d (patch)
tree29f1afcebf95388c50bc7741a55bffa907b47de7 /netwerk
parent556349010e01d0a3b7896f858d503781ea837b46 (diff)
downloaduxp-2f4fdced51346e80d760c5bbcb0b3b4690f4ce7d.tar.gz
Issue #1288 - Use NS_DECL_THREADSAFE_ISUPPORTS in HttpBaseChannel.cpp
Fixes a regression in Part 1b which caused HTML5 parser to fall off the main thread.
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/protocol/http/HttpBaseChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/HttpBaseChannel.cpp b/netwerk/protocol/http/HttpBaseChannel.cpp
index 86e177e71a..568ef30120 100644
--- a/netwerk/protocol/http/HttpBaseChannel.cpp
+++ b/netwerk/protocol/http/HttpBaseChannel.cpp
@@ -897,7 +897,7 @@ public:
InterceptFailedOnStop(nsIStreamListener *arg, HttpBaseChannel *chan)
: mNext(arg)
, mChannel(chan) {}
- NS_DECL_ISUPPORTS
+ NS_DECL_THREADSAFE_ISUPPORTS
NS_IMETHOD OnStartRequest(nsIRequest *aRequest, nsISupports *aContext) override
{