Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8

This commit is contained in:
Olli Pettay
2013-01-29 12:45:38 +02:00
parent 61c27a1843
commit b9ff44f3d6
5 changed files with 1 additions and 83 deletions

View File

@@ -1136,10 +1136,6 @@ nsJSContext::nsJSContext(JSRuntime *aRuntime, bool aGCOnDestruction,
nsJSContext::~nsJSContext()
{
#ifdef DEBUG
nsCycleCollector_DEBUG_wasFreed(static_cast<nsIScriptContext*>(this));
#endif
*mPrev = mNext;
if (mNext) {
mNext->mPrev = mPrev;