mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147646 - Crash in mozilla::a11y::DocAccessible::ProcessContentInserted while stability testing, r=davidb
This commit is contained in:
parent
b212600c95
commit
d0bebd0aeb
@ -1289,11 +1289,13 @@ DocAccessible::ContentInserted(nsIContent* aContainerNode,
|
||||
// null (document element is inserted or removed).
|
||||
Accessible* container = aContainerNode ?
|
||||
GetAccessibleOrContainer(aContainerNode) : this;
|
||||
|
||||
if (container) {
|
||||
// Ignore notification if the container node is no longer in the DOM tree.
|
||||
mNotificationController->ScheduleContentInsertion(container,
|
||||
aStartChildNode,
|
||||
aEndChildNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user