bug 32794 -always set aStatus. sr=attinasi.

This commit is contained in:
karnaze%netscape.com 2001-03-28 21:26:58 +00:00
parent 8825aad0b0
commit 3b6bf0f78a
2 changed files with 4 additions and 6 deletions

View File

@ -967,6 +967,7 @@ nsTableRowGroupFrame::Reflow(nsIPresContext* aPresContext,
nsTableFrame::DebugReflow(this, (nsHTMLReflowState&)aReflowState);
#endif
nsresult rv=NS_OK;
aStatus = NS_FRAME_COMPLETE;
nsTableFrame* tableFrame = nsnull;
rv = nsTableFrame::GetTableFrame(this, tableFrame);
@ -978,9 +979,7 @@ nsTableRowGroupFrame::Reflow(nsIPresContext* aPresContext,
if (eReflowReason_Incremental == aReflowState.reason) {
rv = IncrementalReflow(aPresContext, aDesiredSize, state, aStatus);
}
else {
aStatus = NS_FRAME_COMPLETE;
else {
// Check for an overflow list
MoveOverflowToChildList(aPresContext);

View File

@ -967,6 +967,7 @@ nsTableRowGroupFrame::Reflow(nsIPresContext* aPresContext,
nsTableFrame::DebugReflow(this, (nsHTMLReflowState&)aReflowState);
#endif
nsresult rv=NS_OK;
aStatus = NS_FRAME_COMPLETE;
nsTableFrame* tableFrame = nsnull;
rv = nsTableFrame::GetTableFrame(this, tableFrame);
@ -978,9 +979,7 @@ nsTableRowGroupFrame::Reflow(nsIPresContext* aPresContext,
if (eReflowReason_Incremental == aReflowState.reason) {
rv = IncrementalReflow(aPresContext, aDesiredSize, state, aStatus);
}
else {
aStatus = NS_FRAME_COMPLETE;
else {
// Check for an overflow list
MoveOverflowToChildList(aPresContext);