icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -196,10 +196,17 @@ void CookieStoreNotifier::DispatchEvent(const CookieListItem& aItem,
|
|||
void CookieStoreNotifier::FireDelayedDOMEvents() {
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
RefPtr<CookieStoreNotifier> kungFuDeathGrip(this);
|
||||
|
||||
nsTArray<RefPtr<Event>> delayedDOMEvents;
|
||||
delayedDOMEvents.SwapElements(mDelayedDOMEvents);
|
||||
|
||||
for (Event* event : delayedDOMEvents) {
|
||||
// mCookieStore is a raw pointer cleared by Disentangle().
|
||||
if (!mCookieStore) {
|
||||
break;
|
||||
}
|
||||
|
||||
mCookieStore->DispatchEvent(*event);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue