Fix for bug 31186, backout of part of fix for 28988. r:saari a:leaf and the rest of the irc crowd to fix tree blocker
git-svn-id: svn://10.0.0.236/trunk@62485 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1472,7 +1472,7 @@ nsresult nsEventListenerManager::HandleEvent(nsIPresContext* aPresContext,
|
||||
: nsEventStatus_eConsumeNoDefault;
|
||||
|
||||
// This is correct
|
||||
*aEventStatus = (aEvent->flags & NS_EVENT_FLAG_NO_DEFAULT) || mDestroyed
|
||||
*aEventStatus = (aEvent->flags & NS_EVENT_FLAG_NO_DEFAULT)
|
||||
? nsEventStatus_eConsumeNoDefault
|
||||
: *aEventStatus;
|
||||
|
||||
|
||||
@@ -1472,7 +1472,7 @@ nsresult nsEventListenerManager::HandleEvent(nsIPresContext* aPresContext,
|
||||
: nsEventStatus_eConsumeNoDefault;
|
||||
|
||||
// This is correct
|
||||
*aEventStatus = (aEvent->flags & NS_EVENT_FLAG_NO_DEFAULT) || mDestroyed
|
||||
*aEventStatus = (aEvent->flags & NS_EVENT_FLAG_NO_DEFAULT)
|
||||
? nsEventStatus_eConsumeNoDefault
|
||||
: *aEventStatus;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user