diff --git a/layout/html/table/src/nsTableOuterFrame.cpp b/layout/html/table/src/nsTableOuterFrame.cpp index 0226c043a5e9..664580c8e9e1 100644 --- a/layout/html/table/src/nsTableOuterFrame.cpp +++ b/layout/html/table/src/nsTableOuterFrame.cpp @@ -401,6 +401,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext& aPresContext, } else { if (eReflowReason_Initial == aReflowState.reason) { + NS_ASSERTION(nsnull == mFirstChild, "unexpected reflow reason"); + // Set up our kids. They're already present, on an overflow list, // or there are none so we'll create them now MoveOverflowToChildList(); diff --git a/layout/tables/nsTableOuterFrame.cpp b/layout/tables/nsTableOuterFrame.cpp index 0226c043a5e9..664580c8e9e1 100644 --- a/layout/tables/nsTableOuterFrame.cpp +++ b/layout/tables/nsTableOuterFrame.cpp @@ -401,6 +401,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext& aPresContext, } else { if (eReflowReason_Initial == aReflowState.reason) { + NS_ASSERTION(nsnull == mFirstChild, "unexpected reflow reason"); + // Set up our kids. They're already present, on an overflow list, // or there are none so we'll create them now MoveOverflowToChildList();