diff --git a/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp b/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp index 38527176233..f3a8566a5e8 100644 --- a/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp +++ b/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp @@ -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... diff --git a/mozilla/layout/generic/nsViewportFrame.cpp b/mozilla/layout/generic/nsViewportFrame.cpp index e228e703736..66c9fda2657 100644 --- a/mozilla/layout/generic/nsViewportFrame.cpp +++ b/mozilla/layout/generic/nsViewportFrame.cpp @@ -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; diff --git a/mozilla/layout/html/base/src/nsAbsoluteContainingBlock.cpp b/mozilla/layout/html/base/src/nsAbsoluteContainingBlock.cpp index 38527176233..f3a8566a5e8 100644 --- a/mozilla/layout/html/base/src/nsAbsoluteContainingBlock.cpp +++ b/mozilla/layout/html/base/src/nsAbsoluteContainingBlock.cpp @@ -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... diff --git a/mozilla/layout/html/base/src/nsViewportFrame.cpp b/mozilla/layout/html/base/src/nsViewportFrame.cpp index e228e703736..66c9fda2657 100644 --- a/mozilla/layout/html/base/src/nsViewportFrame.cpp +++ b/mozilla/layout/html/base/src/nsViewportFrame.cpp @@ -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;