diff --git a/content/events/src/nsEventListenerManager.cpp b/content/events/src/nsEventListenerManager.cpp index 019587931a3..98a0777833d 100644 --- a/content/events/src/nsEventListenerManager.cpp +++ b/content/events/src/nsEventListenerManager.cpp @@ -1184,8 +1184,6 @@ nsresult nsEventListenerManager::HandleEvent(nsIPresContext* aPresContext, NS_ENSURE_ARG_POINTER(aEventStatus); nsresult ret = NS_OK; - mListenersRemoved = PR_FALSE; - if (aFlags & NS_EVENT_FLAG_INIT) { aFlags |= (NS_EVENT_FLAG_BUBBLE | NS_EVENT_FLAG_CAPTURE); } @@ -2254,8 +2252,6 @@ nsresult nsEventListenerManager::HandleEvent(nsIPresContext* aPresContext, *aEventStatus = nsEventStatus_eConsumeNoDefault; } - mListenersRemoved = PR_FALSE; - return NS_OK; }