[not part of default build] Remove usage of nsAreaFrame since it will be going away

This commit is contained in:
rbs%maths.uq.edu.au 2000-05-11 23:03:19 +00:00
parent 8d4562f625
commit f68bd50d31
2 changed files with 4 additions and 8 deletions

View File

@ -174,8 +174,6 @@ NS_NewMathMLmtdFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
// XXX RBS - what about mFlags ?
// it->SetFlags(NS_AREA_WRAP_SIZE); ?
*aNewFrame = it;
return NS_OK;
}
@ -193,15 +191,11 @@ nsMathMLmtdFrame::Reflow(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus)
{
nsresult rv = NS_OK;
// Let the base class do the reflow
rv = nsAreaFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
nsresult rv = nsBlockFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
// more about <maligngroup/> and <malignmark/> later
// ...
return rv;
}

View File

@ -138,6 +138,8 @@ public:
return NS_OK;
}
// overloaded nsTableOuterFrame methods
NS_IMETHOD
Init(nsIPresContext* aPresContext,
nsIContent* aContent,
@ -171,7 +173,7 @@ protected:
// --------------
class nsMathMLmtdFrame : public nsAreaFrame {
class nsMathMLmtdFrame : public nsBlockFrame {
public:
friend nsresult NS_NewMathMLmtdFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);