mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Fix some debug assertions.
refactored code porting in assertions causing debug build failures.
This commit is contained in:
parent
b06fd11d6f
commit
1868e88741
7 changed files with 7 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue