mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1018372 - Check aThread against mThread in PeerConnectionImpl constructor r=jesup
This commit is contained in:
parent
a6aa98ac0e
commit
561bcea3c7
@ -730,6 +730,7 @@ PeerConnectionImpl::Initialize(PeerConnectionObserver& aObserver,
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
MOZ_ASSERT(aThread);
|
||||
mThread = do_QueryInterface(aThread);
|
||||
CheckThread();
|
||||
|
||||
mPCObserver = do_GetWeakReference(&aObserver);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user