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


git-svn-id: svn://10.0.0.236/trunk@115683 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bernd.mielke%snafu.de 2002-03-03 19:53:56 +00:00
parent 6cd8bbc150
commit 610f6ff57d
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");