From 5dcba0ecf8a105f91aec892faf5d4bbe59bbaae1 Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Mon, 14 Aug 2017 08:02:02 -0700 Subject: [PATCH] Bug 1376754 - Remove hide event target flag from accessible when event is dropped. r=surkov --- accessible/base/NotificationController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accessible/base/NotificationController.cpp b/accessible/base/NotificationController.cpp index 7d8e6c0ab1f8..d2ebb7decb2d 100644 --- a/accessible/base/NotificationController.cpp +++ b/accessible/base/NotificationController.cpp @@ -271,6 +271,8 @@ NotificationController::DropMutationEvent(AccTreeMutationEvent* aEvent) } else if (aEvent->GetEventType() == nsIAccessibleEvent::EVENT_SHOW) { aEvent->GetAccessible()->SetShowEventTarget(false); } else { + aEvent->GetAccessible()->SetHideEventTarget(false); + AccHideEvent* hideEvent = downcast_accEvent(aEvent); MOZ_ASSERT(hideEvent);