diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-20 10:35:31 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-20 10:35:31 -0500 |
commit | a9218c8b212d51dc191e6002678509d77fbe5bc2 (patch) | |
tree | cd34f7df79f5bf034fff4b71ae6b678f6f923490 | |
parent | e04d56d4b831e955895559c968459fb7499c4a48 (diff) | |
download | aura-central-a9218c8b212d51dc191e6002678509d77fbe5bc2.tar.gz |
[DEBUG] Fix building
-rw-r--r-- | layout/base/nsCSSRendering.cpp | 1 | ||||
-rw-r--r-- | libs/nspr/src/pr/src/threads/combined/prulock.c | 2 |
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 } /* |