mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819443 - Fix compile error (r=red)
This commit is contained in:
parent
d928bf81ec
commit
40a80da8f1
@ -1069,12 +1069,14 @@ JSRuntime::abortIfWrongThread() const
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
JS_FRIEND_API(void)
|
||||
JSRuntime::assertValidThread() const
|
||||
{
|
||||
JS_ASSERT(ownerThread_ == PR_GetCurrentThread());
|
||||
JS_ASSERT(js::TlsPerThreadData.get()->associatedWith(this));
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
#endif /* JS_THREADSAFE */
|
||||
|
||||
JS_PUBLIC_API(JSRuntime *)
|
||||
|
Loading…
Reference in New Issue
Block a user