mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Table crash in webmail page (70072). r=karnaze sr=attinasi
This commit is contained in:
parent
c3ec6e411e
commit
e821bffdf9
@ -4320,7 +4320,7 @@ nsTableFrame::GetFrameAtOrBefore(nsIPresContext* aPresContext,
|
||||
nsIFrame* childFrame;
|
||||
nsIFrame* lastMatchingFrame = nsnull;
|
||||
aParentFrame->FirstChild(aPresContext, nsnull, &childFrame);
|
||||
while (childFrame != aPriorChildFrame) {
|
||||
while (childFrame && childFrame != aPriorChildFrame) {
|
||||
childFrame->GetFrameType(&frameType);
|
||||
if (aChildType == frameType) {
|
||||
lastMatchingFrame = childFrame;
|
||||
|
@ -4320,7 +4320,7 @@ nsTableFrame::GetFrameAtOrBefore(nsIPresContext* aPresContext,
|
||||
nsIFrame* childFrame;
|
||||
nsIFrame* lastMatchingFrame = nsnull;
|
||||
aParentFrame->FirstChild(aPresContext, nsnull, &childFrame);
|
||||
while (childFrame != aPriorChildFrame) {
|
||||
while (childFrame && childFrame != aPriorChildFrame) {
|
||||
childFrame->GetFrameType(&frameType);
|
||||
if (aChildType == frameType) {
|
||||
lastMatchingFrame = childFrame;
|
||||
|
Loading…
Reference in New Issue
Block a user