mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 19:10:36 +00:00
[not part of default build] Remove usage of nsAreaFrame since it will be going away
This commit is contained in:
parent
8d4562f625
commit
f68bd50d31
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user