Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this

sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
This commit is contained in:
troy@netscape.com
1998-10-05 00:58:32 +00:00
parent 6f42111005
commit 5c50ea58dd
15 changed files with 0 additions and 21 deletions
@@ -481,7 +481,6 @@ nsresult nsTableRowFrame::ResizeReflow(nsIPresContext& aPresContext,
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow)) {
htmlReflow->WillReflow(aPresContext);
kidFrame->MoveTo(aState.x, kidMargin.top);
nsHTMLReflowState kidReflowState(kidFrame, aState.reflowState, kidAvailSize,
eReflowReason_Resize);
if (gsDebug) printf ("%p RR: avail=%d\n", this, availWidth);
@@ -855,7 +854,6 @@ nsresult nsTableRowFrame::IncrementalReflow(nsIPresContext& aPresContext,
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow)) {
htmlReflow->WillReflow(aPresContext);
kidFrame->MoveTo(aState.x, kidMargin.top);
// XXX Unfortunately we need to reflow the child several times.
// The first time is for the incremental reflow command. We can't pass in