Fix release mode bustage.

git-svn-id: svn://10.0.0.236/trunk@466 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scullin
1998-04-21 18:25:52 +00:00
parent f0c7de40ac
commit 759014f170
2 changed files with 4 additions and 0 deletions

View File

@@ -290,10 +290,12 @@ nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
}
if (nsnull != prevKidFrame) {
#ifdef NS_DEBUG
if (!IsLastChild(prevKidFrame))
{
mGeometricParent->List();
}
#endif
NS_ASSERTION(IsLastChild(prevKidFrame), "unexpected last child");
SetLastContentOffset(prevKidFrame);
}

View File

@@ -290,10 +290,12 @@ nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
}
if (nsnull != prevKidFrame) {
#ifdef NS_DEBUG
if (!IsLastChild(prevKidFrame))
{
mGeometricParent->List();
}
#endif
NS_ASSERTION(IsLastChild(prevKidFrame), "unexpected last child");
SetLastContentOffset(prevKidFrame);
}