From 64efc2defd4e6fa3dc089d4796f6167ebf478e06 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 23 Sep 2015 18:21:19 -0700 Subject: [PATCH] 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'". --- ipc/chromium/src/chrome/common/child_thread.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/ipc/chromium/src/chrome/common/child_thread.cc b/ipc/chromium/src/chrome/common/child_thread.cc index cf2ae3574ad..ccf59da23a1 100644 --- a/ipc/chromium/src/chrome/common/child_thread.cc +++ b/ipc/chromium/src/chrome/common/child_thread.cc @@ -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));