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:
Nicholas Nethercote 2015-09-23 18:21:19 -07:00
parent 9bf65e9a1b
commit 64efc2defd

View File

@ -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));