checkin of the remaining lines from my previous patch for bug 47432.

thanks to dbaron r=karnaze sr=attinasi a=asa
This commit is contained in:
bernd.mielke%snafu.de 2001-04-19 19:11:17 +00:00
Родитель 6d221b98ab
Коммит 6c230534e2
2 изменённых файлов: 6 добавлений и 2 удалений

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

@ -525,7 +525,7 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(const nsHTMLReflowState& aR
return;
PRInt32* rowIndices = new PRInt32[numRows];
if(!rowIndices) {
delete numColSpans;
delete [] numColSpans;
return;
}
for (colX = numCols - 1; colX >= 0; colX--) {
@ -607,6 +607,8 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(const nsHTMLReflowState& aR
}
}
}
delete [] numColSpans;
delete [] rowIndices;
#ifdef DEBUG_TABLE_REFLOW_TIMING
nsTableFrame::DebugTimeMethod(nsTableFrame::eNonPctColspans, *mTableFrame, (nsHTMLReflowState&)aReflowState, PR_FALSE);
#endif

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

@ -525,7 +525,7 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(const nsHTMLReflowState& aR
return;
PRInt32* rowIndices = new PRInt32[numRows];
if(!rowIndices) {
delete numColSpans;
delete [] numColSpans;
return;
}
for (colX = numCols - 1; colX >= 0; colX--) {
@ -607,6 +607,8 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(const nsHTMLReflowState& aR
}
}
}
delete [] numColSpans;
delete [] rowIndices;
#ifdef DEBUG_TABLE_REFLOW_TIMING
nsTableFrame::DebugTimeMethod(nsTableFrame::eNonPctColspans, *mTableFrame, (nsHTMLReflowState&)aReflowState, PR_FALSE);
#endif