mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
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:
parent
1d0e067ff2
commit
39e8d0d9ea
@ -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");
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user