diff options
author | Moonchild <moonchild@palemoon.org> | 2022-10-03 20:00:02 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-10-04 16:32:25 +0000 |
commit | 2dc264047edad770c1ac4513a1e7844ef4365fa7 (patch) | |
tree | d752598a35740362fbdd07f507d4865d7be82006 /netwerk/protocol | |
parent | 6d5b934dc08792d2833fefae6acddaf8f3bfd02b (diff) | |
download | uxp-2dc264047edad770c1ac4513a1e7844ef4365fa7.tar.gz |
Fix some debug assertions.
refactored code porting in assertions causing debug build failures.
Diffstat (limited to 'netwerk/protocol')
-rw-r--r-- | netwerk/protocol/http/nsHttpConnectionMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpConnectionMgr.cpp b/netwerk/protocol/http/nsHttpConnectionMgr.cpp index 70d051f747..f23d9e9e9a 100644 --- a/netwerk/protocol/http/nsHttpConnectionMgr.cpp +++ b/netwerk/protocol/http/nsHttpConnectionMgr.cpp @@ -2630,7 +2630,7 @@ nsHttpConnectionMgr::OnMsgCompleteUpgrade(int32_t, ARefBase *param) void nsHttpConnectionMgr::OnMsgUpdateParam(int32_t inParam, ARefBase *) { - MOZ_ASSERT(OnSocketThread(), "not on socket thread"); + NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "not on socket thread"); uint32_t param = static_cast<uint32_t>(inParam); uint16_t name = ((param) & 0xFFFF0000) >> 16; uint16_t value = param & 0x0000FFFF; |