diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp index e2eabc7c53ee..b4b59e12ec1e 100644 --- a/dom/workers/RuntimeService.cpp +++ b/dom/workers/RuntimeService.cpp @@ -1691,7 +1691,7 @@ RuntimeService::ShutdownIdleThreads(nsITimer* aTimer, void* /* aClosure */) } } - NS_ASSERTION(nextExpiration.IsNull() || !expiredThreads.IsEmpty(), + NS_ASSERTION(!nextExpiration.IsNull() || !expiredThreads.IsEmpty(), "Should have a new time or there should be some threads to shut " "down");