RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov

This commit is contained in:
danm%netscape.com 2001-01-22 23:01:03 +00:00
parent 2f9df69204
commit 3d72fd68cd

View File

@ -303,6 +303,11 @@ NS_IMETHODIMP
nsEventQueueImpl::RevokeEvents(void* owner)
{
PL_RevokeEvents(mEventQueue, owner);
if (mElderQueue) {
nsCOMPtr<nsIEventQueue> elder(do_QueryInterface(mElderQueue));
if (elder)
elder->RevokeEvents(owner);
}
return NS_OK;
}