diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-04 01:44:41 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-19 17:38:02 +0000 |
commit | 185a027640f9b18c97eda39a49bfa2dcce58fcdb (patch) | |
tree | d29b146d37f0f831ec981316da778c91fd77be8a /xpcom | |
parent | 99ec088ecf1259643f6124206af024de3ebc49ad (diff) | |
download | uxp-185a027640f9b18c97eda39a49bfa2dcce58fcdb.tar.gz |
Issue #1877 - Resolve 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 9411fbda39..8f830c1f7d 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 d3f3535472..fd92cf54a5 100644 --- a/xpcom/system/nsIXULRuntime.idl +++ b/xpcom/system/nsIXULRuntime.idl @@ -131,7 +131,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; |