Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2002-05-10 18:22:41 +00:00
parent 79bf7a0a29
commit 5bae3657e6
99 changed files with 3075 additions and 2868 deletions

View File

@@ -395,8 +395,8 @@ NS_IMETHODIMP nsFileControlFrame::Reflow(nsIPresContext* aPresContext,
txtRect.height != aDesiredSize.height) {
nsSize txtAvailSize(aReflowState.availableWidth, aDesiredSize.height);
nsHTMLReflowMetrics txtKidSize(&txtAvailSize);
nsHTMLReflowState txtKidReflowState(aPresContext, aReflowState, this, txtAvailSize);
txtKidReflowState.reason = eReflowReason_Resize;
nsHTMLReflowState txtKidReflowState(aPresContext, aReflowState, this, txtAvailSize,
eReflowReason_Resize);
txtKidReflowState.mComputedHeight = aDesiredSize.height;
rv = nsAreaFrame::WillReflow(aPresContext);
NS_ASSERTION(NS_SUCCEEDED(rv), "Should have succeeded");