Bug 1091921 - Don't disable operator delete for Monitor and Mutex Auto helpers. r=froydnj

--HG--
extra : rebase_source : 9754a3daab2b3452201ed9575a4cc00b6b8d6231
This commit is contained in:
Seth Fowler 2014-11-10 13:37:52 -08:00
parent 552b8dfc85
commit a09ff42fbc
3 changed files with 0 additions and 6 deletions

View File

@ -96,7 +96,6 @@ private:
MonitorAutoLock(const MonitorAutoLock&);
MonitorAutoLock& operator=(const MonitorAutoLock&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
Monitor* mMonitor;
};
@ -127,7 +126,6 @@ private:
MonitorAutoUnlock(const MonitorAutoUnlock&);
MonitorAutoUnlock& operator=(const MonitorAutoUnlock&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
Monitor* mMonitor;
};

View File

@ -174,7 +174,6 @@ private:
BaseAutoLock(BaseAutoLock&);
BaseAutoLock& operator=(BaseAutoLock&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
T* mLock;
MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER
@ -212,7 +211,6 @@ private:
BaseAutoUnlock(BaseAutoUnlock&);
BaseAutoUnlock& operator=(BaseAutoUnlock&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
T* mLock;
MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER

View File

@ -198,7 +198,6 @@ private:
ReentrantMonitorAutoEnter(const ReentrantMonitorAutoEnter&);
ReentrantMonitorAutoEnter& operator=(const ReentrantMonitorAutoEnter&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
mozilla::ReentrantMonitor* mReentrantMonitor;
};
@ -240,7 +239,6 @@ private:
ReentrantMonitorAutoExit(const ReentrantMonitorAutoExit&);
ReentrantMonitorAutoExit& operator=(const ReentrantMonitorAutoExit&);
static void* operator new(size_t) CPP_THROW_NEW;
static void operator delete(void*);
ReentrantMonitor* mReentrantMonitor;
};