bug 118980 add some debug code to xul frames to be prepared when xbl controls

break table reflow r=karnaze sr=attinasi a=roc+moz
This commit is contained in:
bernd.mielke%snafu.de 2002-03-03 19:53:56 +00:00
parent 1d0e067ff2
commit 39e8d0d9ea
2 changed files with 2 additions and 0 deletions

View File

@ -898,6 +898,7 @@ nsBoxFrame::Reflow(nsIPresContext* aPresContext,
// in sync, if the changes are applicable there.
DO_GLOBAL_REFLOW_COUNT("nsBoxFrame", aReflowState.reason);
DISPLAY_REFLOW(aPresContext, this, aReflowState, aDesiredSize, aStatus);
NS_ASSERTION(aReflowState.mComputedWidth >=0 && aReflowState.mComputedHeight >= 0, "Computed Size < 0");

View File

@ -223,6 +223,7 @@ nsLeafBoxFrame::Reflow(nsIPresContext* aPresContext,
// nsBoxFrame::Reflow in sync.
DO_GLOBAL_REFLOW_COUNT("nsLeafBoxFrame", aReflowState.reason);
DISPLAY_REFLOW(aPresContext, this, aReflowState, aDesiredSize, aStatus);
NS_ASSERTION(aReflowState.mComputedWidth >=0 && aReflowState.mComputedHeight >= 0, "Computed Size < 0");