From 22c699c8c49e65e18a564ae73436e6b77148c87d Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Tue, 1 Aug 2006 17:29:48 +0000 Subject: [PATCH] Fix reading of uninitialized memory (in-out aEventStatus). b=346767 r=Olli.Pettay sr=bzbarsky --- layout/xul/base/src/nsBoxFrame.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/xul/base/src/nsBoxFrame.cpp b/layout/xul/base/src/nsBoxFrame.cpp index 4f776f55b3f3..5196e7c4350c 100644 --- a/layout/xul/base/src/nsBoxFrame.cpp +++ b/layout/xul/base/src/nsBoxFrame.cpp @@ -2228,9 +2228,8 @@ nsBoxFrame::FireDOMEventSynch(const nsAString& aDOMEventName, nsIContent *aConte nsCOMPtr privateEvent(do_QueryInterface(event)); privateEvent->SetTrusted(PR_TRUE); - nsEventStatus eventStatusUnused; nsEventDispatcher::DispatchDOMEvent(content, nsnull, event, - presContext, &eventStatusUnused); + presContext, nsnull); } } }