mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00:00
fix crash replying to outlook message with dashed frame 52130 r=buster,waterson
This commit is contained in:
parent
9b64d1b576
commit
d5e488cde1
@ -1139,7 +1139,7 @@ PRIntn whichSide=0;
|
||||
{
|
||||
nsRect borderInside(borderOutside);
|
||||
nsBorderEdge * neighbor;
|
||||
if (PR_TRUE==aBorderEdges->mOutsideEdge)
|
||||
if (PR_TRUE==aBorderEdges->mOutsideEdge && segment->mInsideNeighbor)
|
||||
neighbor = (nsBorderEdge *)(segment->mInsideNeighbor->mEdges[NS_SIDE_LEFT].ElementAt(0));
|
||||
else
|
||||
neighbor = (nsBorderEdge *)(aBorderEdges->mEdges[NS_SIDE_LEFT].ElementAt(0));
|
||||
|
@ -1139,7 +1139,7 @@ PRIntn whichSide=0;
|
||||
{
|
||||
nsRect borderInside(borderOutside);
|
||||
nsBorderEdge * neighbor;
|
||||
if (PR_TRUE==aBorderEdges->mOutsideEdge)
|
||||
if (PR_TRUE==aBorderEdges->mOutsideEdge && segment->mInsideNeighbor)
|
||||
neighbor = (nsBorderEdge *)(segment->mInsideNeighbor->mEdges[NS_SIDE_LEFT].ElementAt(0));
|
||||
else
|
||||
neighbor = (nsBorderEdge *)(aBorderEdges->mEdges[NS_SIDE_LEFT].ElementAt(0));
|
||||
|
Loading…
Reference in New Issue
Block a user