Bug 470419, r+sr=bz, a=dveditz

git-svn-id: svn://10.0.0.236/trunk@255654 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Olli.Pettay%helsinki.fi
2008-12-28 19:46:17 +00:00
parent 7e986f49f4
commit 0ae9f4508c

View File

@@ -103,7 +103,7 @@ PRBool
nsXBLMouseEventHandler::EventMatched(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouse(do_QueryInterface(aEvent));
return mProtoHandler->MouseEventMatched(mouse);
return mouse && mProtoHandler->MouseEventMatched(mouse);
}
nsXBLKeyEventHandler::nsXBLKeyEventHandler(nsIAtom* aEventType, PRUint8 aPhase,