mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov
This commit is contained in:
parent
2f9df69204
commit
3d72fd68cd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user