diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-04 01:44:41 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-02-04 01:44:41 +0000 |
commit | d4c86a8319cc469bfb7036a2ecb439b35be1a833 (patch) | |
tree | 68692b1038e23177b526f8ef496a4506a197054e /xpcom | |
parent | 097fa969802f76530384926e8ef1f56777be3783 (diff) | |
download | aura-central-d4c86a8319cc469bfb7036a2ecb439b35be1a833.tar.gz |
Issue %3060 - Resolve remaining RELEASE_OR_BETA conditionals.
Diffstat (limited to 'xpcom')
-rw-r--r-- | xpcom/build/IOInterposer.h | 4 | ||||
-rw-r--r-- | xpcom/system/nsIXULRuntime.idl | 3 |
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; |