mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1538991: Verify parent exists before calling ReorderEventTarget r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D112205
This commit is contained in:
parent
f2483b1e23
commit
f2a97e6e11
@ -331,7 +331,7 @@ void NotificationController::CoalesceMutationEvents() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LocalAccessible* parent = acc->LocalParent();
|
LocalAccessible* parent = acc->LocalParent();
|
||||||
if (parent->ReorderEventTarget()) {
|
if (parent && parent->ReorderEventTarget()) {
|
||||||
AccReorderEvent* reorder = downcast_accEvent(
|
AccReorderEvent* reorder = downcast_accEvent(
|
||||||
mMutationMap.GetEvent(parent, EventMap::ReorderEvent));
|
mMutationMap.GetEvent(parent, EventMap::ReorderEvent));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user