Fix reading of uninitialized memory (in-out aEventStatus). b=346767 r=Olli.Pettay sr=bzbarsky

This commit is contained in:
dbaron%dbaron.org 2006-08-01 17:29:48 +00:00
parent 08b95ea6ad
commit 22c699c8c4

View File

@ -2228,9 +2228,8 @@ nsBoxFrame::FireDOMEventSynch(const nsAString& aDOMEventName, nsIContent *aConte
nsCOMPtr<nsIPrivateDOMEvent> privateEvent(do_QueryInterface(event));
privateEvent->SetTrusted(PR_TRUE);
nsEventStatus eventStatusUnused;
nsEventDispatcher::DispatchDOMEvent(content, nsnull, event,
presContext, &eventStatusUnused);
presContext, nsnull);
}
}
}