Bug 998377 - Stop calling ReleaseWrapper in DelayedDisconnect(). r=smaug

AFAICT, nobody ever calls PreserveWrapper. Presumably, the CC machinery should
take care of us here.
This commit is contained in:
Bobby Holley 2014-04-18 16:00:06 -07:00
parent e40a80a496
commit 5cc36d461d

View File

@ -236,7 +236,6 @@ nsInProcessTabChildGlobal::DelayedDisconnect()
}
if (!mLoadingScript) {
ReleaseWrapper(static_cast<EventTarget*>(this));
} else {
mDelayedDisconnect = true;
}