Bug 956218 - Fix build bustage for B2G-JB on a CLOSED TREE

This commit is contained in:
Ben Turner 2014-02-24 20:16:01 -08:00
parent 92b3158879
commit 35cbf4c58e

View File

@ -1742,7 +1742,7 @@ ContentChild::RecvNuwaFork()
// at the same time then we risk deadlock. Spinning the event loop here
// guarantees the ordering is safe for PBackground.
while (!BackgroundChild::GetForCurrentThread()) {
if (NS_WARN_IF(NS_FAILED(NS_ProcessNextEvent()))) {
if (NS_WARN_IF(!NS_ProcessNextEvent())) {
return false;
}
}