Table crash in webmail page (70072). r=karnaze sr=attinasi

This commit is contained in:
blakeross%telocity.com 2001-03-05 22:09:14 +00:00
Родитель c3ec6e411e
Коммит e821bffdf9
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;