Added some asserts to the incremental reflow code

This commit is contained in:
troy
1998-06-24 22:05:59 +00:00
parent 0a4f3a850b
commit f3ba7f0c78
6 changed files with 36 additions and 0 deletions

View File

@@ -1075,6 +1075,12 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext* aPresContext,
}
if (eReflowReason_Incremental == aReflowState.reason) {
nsIFrame* target;
aReflowState.reflowCommand->GetTarget(target);
if (this == target) {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
// XXX Deal with the case where the reflow command is targeted at us
nsIFrame* kidFrame;
aReflowState.reflowCommand->GetNext(kidFrame);