Bug 1233208: Disable IOInterposer on Beta and Release; r=froydnj
authorAaron Klotz <aklotz@mozilla.com>
Wed, 16 Dec 2015 14:36:44 -0700
changeset 315934 6aa41697cb73070d6671376f57a7debe579dd07f
parent 315933 a65aed031e9752d217c517383a7403c82fae04e6
child 315935 0bfde2c2ef6abfe4c12cbfdad21bc7ceffbc4bd7
push id8488
push usercykesiopka.bmo@gmail.com
push dateThu, 17 Dec 2015 08:02:04 +0000
reviewersfroydnj
bugs1233208
milestone46.0a1
Bug 1233208: Disable IOInterposer on Beta and Release; r=froydnj
xpcom/build/IOInterposer.h
--- a/xpcom/build/IOInterposer.h
+++ b/xpcom/build/IOInterposer.h
@@ -248,24 +248,24 @@ void EnteringNextStage();
 
 } // namespace IOInterposer
 
 class IOInterposerInit
 {
 public:
   IOInterposerInit()
   {
-#if defined(MOZ_ENABLE_PROFILER_SPS)
+#if !defined(RELEASE_BUILD)
     IOInterposer::Init();
 #endif
   }
 
   ~IOInterposerInit()
   {
-#if defined(MOZ_ENABLE_PROFILER_SPS)
+#if !defined(RELEASE_BUILD)
     IOInterposer::Clear();
 #endif
   }
 };
 
 } // namespace mozilla
 
 #endif // mozilla_IOInterposer_h