[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
Родитель e756f1b5c9
Коммит 30cba9fa68
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -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;
}

Просмотреть файл

@ -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);