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:
@@ -530,7 +530,9 @@ nsHTMLFrameOuterFrame::Reflow(nsIPresContext* aPresContext,
|
||||
aDesiredSize.height += border.top + border.bottom;
|
||||
}
|
||||
|
||||
// Reflow the child and get its desired size
|
||||
// Reflow the child and get its desired size. We'll need to convert
|
||||
// an incremental reflow to a dirty reflow unless our child is along
|
||||
// the path.
|
||||
nsIFrame* firstChild = mFrames.FirstChild();
|
||||
nsHTMLReflowMetrics kidMetrics(aDesiredSize.maxElementSize);
|
||||
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, firstChild,
|
||||
|
||||
Reference in New Issue
Block a user