Changed ReflowChild() to send the WillReflow() notification as well

This commit is contained in:
troy@netscape.com
1998-10-06 00:27:22 +00:00
parent 054f0a3fd4
commit c850ca269e
25 changed files with 716 additions and 834 deletions

View File

@@ -328,8 +328,7 @@ nsHTMLFrameOuterFrame::Reflow(nsIPresContext& aPresContext,
nsIHTMLReflow* htmlReflow;
if (NS_OK == mFirstChild->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow)) {
htmlReflow->WillReflow(aPresContext);
aStatus = ReflowChild(mFirstChild, &aPresContext, kidMetrics, kidReflowState);
ReflowChild(mFirstChild, aPresContext, kidMetrics, kidReflowState, aStatus);
NS_ASSERTION(NS_FRAME_IS_COMPLETE(aStatus), "bad status");
// Place and size the child