Backout Bug 495983, part2

This commit is contained in:
Olli Pettay 2009-06-24 14:49:27 +03:00
parent 05d764dea7
commit b9fa86fa3b

View File

@ -619,11 +619,11 @@ nsEventDispatcher::CreateEvent(nsPresContext* aPresContext,
switch(aEvent->eventStructType) {
case NS_MUTATION_EVENT:
return NS_NewDOMMutationEvent(aDOMEvent, aPresContext,
static_cast<nsMutationEvent*>(aEvent));
case NS_PAGETRANSITION_EVENT:
return NS_NewDOMPageTransitionEvent(aDOMEvent, aPresContext,
static_cast<nsPageTransitionEvent*>
(aEvent));
static_cast<nsMutationEvent*>(aEvent));
case NS_GUI_EVENT:
case NS_COMPOSITION_EVENT:
case NS_SCROLLPORT_EVENT: