From 610f6ff57d4b26f9bb554eadc7833ffd771007fb Mon Sep 17 00:00:00 2001 From: "bernd.mielke%snafu.de" Date: Sun, 3 Mar 2002 19:53:56 +0000 Subject: [PATCH] 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 --- mozilla/layout/xul/base/src/nsBoxFrame.cpp | 1 + mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/mozilla/layout/xul/base/src/nsBoxFrame.cpp b/mozilla/layout/xul/base/src/nsBoxFrame.cpp index 344c91ba5fc..46e474a9cd3 100644 --- a/mozilla/layout/xul/base/src/nsBoxFrame.cpp +++ b/mozilla/layout/xul/base/src/nsBoxFrame.cpp @@ -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"); diff --git a/mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp b/mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp index 897e5ded20a..b1a067d97af 100644 --- a/mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp +++ b/mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp @@ -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");