summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-04 01:44:41 +0000
committerMoonchild <moonchild@palemoon.org>2022-02-04 01:44:41 +0000
commitd4c86a8319cc469bfb7036a2ecb439b35be1a833 (patch)
tree68692b1038e23177b526f8ef496a4506a197054e /xpcom
parent097fa969802f76530384926e8ef1f56777be3783 (diff)
downloadaura-central-d4c86a8319cc469bfb7036a2ecb439b35be1a833.tar.gz
Issue %3060 - Resolve remaining RELEASE_OR_BETA conditionals.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/build/IOInterposer.h4
-rw-r--r--xpcom/system/nsIXULRuntime.idl3
2 files changed, 4 insertions, 3 deletions
diff --git a/xpcom/build/IOInterposer.h b/xpcom/build/IOInterposer.h
index 9411fbda3..8f830c1f7 100644
--- a/xpcom/build/IOInterposer.h
+++ b/xpcom/build/IOInterposer.h
@@ -259,14 +259,14 @@ class IOInterposerInit
public:
IOInterposerInit()
{
-#if !defined(RELEASE_OR_BETA)
+#ifdef DEBUG
IOInterposer::Init();
#endif
}
~IOInterposerInit()
{
-#if !defined(RELEASE_OR_BETA)
+#ifdef DEBUG
IOInterposer::Clear();
#endif
}
diff --git a/xpcom/system/nsIXULRuntime.idl b/xpcom/system/nsIXULRuntime.idl
index e7ae37db5..a9f249ee7 100644
--- a/xpcom/system/nsIXULRuntime.idl
+++ b/xpcom/system/nsIXULRuntime.idl
@@ -130,7 +130,8 @@ interface nsIXULRuntime : nsISupports
readonly attribute DOMString lastRunCrashID;
/**
- * True if this is RELEASE_OR_BETA.
+ * True if this is explicitly flagged as release or beta at build time.
+ * Currently unused.
*/
readonly attribute boolean isReleaseOrBeta;