Bug 5746: Check for null.
git-svn-id: svn://10.0.0.236/trunk@31720 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4aeb67c89b
commit
c51e86bc1c
@ -801,6 +801,8 @@ NS_IMETHODIMP nsView :: HandleEvent(nsGUIEvent *event, PRUint32 aEventFlags,
|
||||
nsIView *pKid;
|
||||
|
||||
GetChild(cnt, pKid);
|
||||
if (!pKid) break;
|
||||
|
||||
pKid->GetBounds(trect);
|
||||
|
||||
if (trect.Contains(x, y))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user