mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1205942 (part 2) - Fix "always true" warning in child_thread.cc. r=jld.
The warning is "the address of NuwaMarkCurrentThread() will always evaluate to 'true'".
This commit is contained in:
parent
9bf65e9a1b
commit
64efc2defd
@ -32,7 +32,6 @@ ChildThread::~ChildThread() {
|
||||
bool ChildThread::Run() {
|
||||
bool r = StartWithOptions(options_);
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
NS_ASSERTION(NuwaMarkCurrentThread, "NuwaMarkCurrentThread is not defined!");
|
||||
if (IsNuwaProcess()) {
|
||||
message_loop()->PostTask(FROM_HERE,
|
||||
NewRunnableFunction(&ChildThread::MarkThread));
|
||||
|
Loading…
Reference in New Issue
Block a user