Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell.

git-svn-id: svn://10.0.0.236/trunk@184444 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2005-11-11 02:36:29 +00:00
parent fcb5633da2
commit 9199079043
80 changed files with 437 additions and 882 deletions

View File

@@ -51,19 +51,10 @@
// <mphantom> -- make content invisible but preserve its size
//
nsresult
NS_NewMathMLmphantomFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
nsIFrame*
NS_NewMathMLmphantomFrame(nsIPresShell* aPresShell)
{
NS_PRECONDITION(aNewFrame, "null OUT ptr");
if (nsnull == aNewFrame) {
return NS_ERROR_NULL_POINTER;
}
nsMathMLmphantomFrame* it = new (aPresShell) nsMathMLmphantomFrame;
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
*aNewFrame = it;
return NS_OK;
return new (aPresShell) nsMathMLmphantomFrame;
}
nsMathMLmphantomFrame::nsMathMLmphantomFrame()