mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi
This commit is contained in:
parent
046f20a06d
commit
34f7670747
@ -1817,7 +1817,13 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *aS
|
||||
break;
|
||||
}
|
||||
|
||||
case NS_CREATE:
|
||||
case NS_DESTROY:
|
||||
case NS_SETZLEVEL:
|
||||
case NS_MOVE:
|
||||
/* Don't pass these events through. Passing them through
|
||||
causes performance problems on pages with lots of views/frames
|
||||
@see bug 112861 */
|
||||
*aStatus = nsEventStatus_eConsumeNoDefault;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user