summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
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 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;