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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user