From 199bcd2df0e5bbcd74015fd391d60764de1d0e45 Mon Sep 17 00:00:00 2001 From: Eric Rahm Date: Tue, 20 Dec 2016 15:29:05 -0800 Subject: [PATCH] Bug 1322735 - Remove OBSERVE_LATE_WRITES define. r=glandium OBSERVE_LATE_WRITES is now always defined, we can just remove it. MozReview-Commit-ID: El6RnzZnXBN --HG-- extra : rebase_source : fea565554ada76e489bf70f346993241d8d9c054 --- xpcom/build/LateWriteChecks.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xpcom/build/LateWriteChecks.cpp b/xpcom/build/LateWriteChecks.cpp index caf72a856bab..3d1e0f5ac109 100644 --- a/xpcom/build/LateWriteChecks.cpp +++ b/xpcom/build/LateWriteChecks.cpp @@ -35,8 +35,6 @@ #include "LateWriteChecks.h" -#define OBSERVE_LATE_WRITES - using namespace mozilla; /*************************** Auxiliary Declarations ***************************/ @@ -112,7 +110,6 @@ private: void LateWriteObserver::Observe(IOInterposeObserver::Observation& aOb) { -#ifdef OBSERVE_LATE_WRITES // Crash if that is the shutdown check mode if (gShutdownChecks == SCM_CRASH) { MOZ_CRASH(); @@ -207,7 +204,6 @@ LateWriteObserver::Observe(IOInterposeObserver::Observation& aOb) } PR_Delete(finalName.get()); PR_Rename(name, finalName.get()); -#endif } /******************************* Setup/Teardown *******************************/