Bug 1538991: Verify parent exists before calling ReorderEventTarget r=eeejay

Differential Revision: https://phabricator.services.mozilla.com/D112205
This commit is contained in:
Morgan Reschenberg 2021-04-15 17:30:43 +00:00
parent f2483b1e23
commit f2a97e6e11

View File

@ -331,7 +331,7 @@ void NotificationController::CoalesceMutationEvents() {
}
LocalAccessible* parent = acc->LocalParent();
if (parent->ReorderEventTarget()) {
if (parent && parent->ReorderEventTarget()) {
AccReorderEvent* reorder = downcast_accEvent(
mMutationMap.GetEvent(parent, EventMap::ReorderEvent));