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
This commit is contained in:
Eric Rahm 2016-12-20 15:29:05 -08:00
parent 2e195de610
commit 199bcd2df0

View File

@ -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 *******************************/