mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
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:
parent
2e195de610
commit
199bcd2df0
@ -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 *******************************/
|
||||
|
Loading…
Reference in New Issue
Block a user