Remove leftover reflow reason hack in fixed-pos reflow. Bug 192291,

r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137778 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2003-02-13 19:10:50 +00:00
parent 8b9d8cd100
commit 02cfbfbc50
4 changed files with 0 additions and 10 deletions

View File

@@ -404,10 +404,6 @@ nsAbsoluteContainingBlock::DestroyFrames(nsIFrame* aDelegatingFrame,
mAbsoluteFrames.DestroyFrames(aPresContext);
}
/**
* NOTE: nsViewportFrame::ReflowFixedFrame is rather similar to this
* function, so changes made here may also need to be made there.
*/
// XXX Optimize the case where it's a resize reflow and the absolutely
// positioned child has the exact same size and position and skip the
// reflow...

View File

@@ -270,7 +270,6 @@ ViewportFrame::Reflow(nsIPresContext* aPresContext,
// Make a copy of the reflow state and change the computed width and height
// to reflect the available space for the fixed items
nsHTMLReflowState reflowState(aReflowState);
reflowState.reason = eReflowReason_Dirty;
AdjustReflowStateForScrollbars(aPresContext, reflowState);
PRBool wasHandled;

View File

@@ -404,10 +404,6 @@ nsAbsoluteContainingBlock::DestroyFrames(nsIFrame* aDelegatingFrame,
mAbsoluteFrames.DestroyFrames(aPresContext);
}
/**
* NOTE: nsViewportFrame::ReflowFixedFrame is rather similar to this
* function, so changes made here may also need to be made there.
*/
// XXX Optimize the case where it's a resize reflow and the absolutely
// positioned child has the exact same size and position and skip the
// reflow...

View File

@@ -270,7 +270,6 @@ ViewportFrame::Reflow(nsIPresContext* aPresContext,
// Make a copy of the reflow state and change the computed width and height
// to reflect the available space for the fixed items
nsHTMLReflowState reflowState(aReflowState);
reflowState.reason = eReflowReason_Dirty;
AdjustReflowStateForScrollbars(aPresContext, reflowState);
PRBool wasHandled;