summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-20 10:35:31 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-20 10:35:31 -0500
commita9218c8b212d51dc191e6002678509d77fbe5bc2 (patch)
treecd34f7df79f5bf034fff4b71ae6b678f6f923490
parente04d56d4b831e955895559c968459fb7499c4a48 (diff)
downloadaura-central-a9218c8b212d51dc191e6002678509d77fbe5bc2.tar.gz
[DEBUG] Fix building
-rw-r--r--layout/base/nsCSSRendering.cpp1
-rw-r--r--libs/nspr/src/pr/src/threads/combined/prulock.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp
index 5e1ce69ab..e9ffc526b 100644
--- a/layout/base/nsCSSRendering.cpp
+++ b/layout/base/nsCSSRendering.cpp
@@ -21,6 +21,7 @@
#include "nsStyleConsts.h"
#include "nsPresContext.h"
#include "nsIFrame.h"
+#include "nsIFrameInlines.h"
#include "nsPoint.h"
#include "nsRect.h"
#include "nsIPresShell.h"
diff --git a/libs/nspr/src/pr/src/threads/combined/prulock.c b/libs/nspr/src/pr/src/threads/combined/prulock.c
index 69c27d149..a3d711cea 100644
--- a/libs/nspr/src/pr/src/threads/combined/prulock.c
+++ b/libs/nspr/src/pr/src/threads/combined/prulock.c
@@ -390,7 +390,9 @@ PR_IMPLEMENT(PRStatus) PR_Unlock(PRLock *lock)
PR_IMPLEMENT(void) PR_AssertCurrentThreadOwnsLock(PRLock *lock)
{
PRThread *me = _PR_MD_CURRENT_THREAD();
+#ifndef DEBUG
PR_ASSERT(lock->owner == me);
+#endif
}
/*