Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -53,17 +53,10 @@
|
||||
#endif
|
||||
|
||||
|
||||
nsresult
|
||||
NS_NewPageContentFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
||||
nsIFrame*
|
||||
NS_NewPageContentFrame(nsIPresShell* aPresShell)
|
||||
{
|
||||
NS_PRECONDITION(aNewFrame, "null OUT ptr");
|
||||
|
||||
nsPageContentFrame* it = new (aPresShell) nsPageContentFrame;
|
||||
if (nsnull == it) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
*aNewFrame = it;
|
||||
return NS_OK;
|
||||
return new (aPresShell) nsPageContentFrame;
|
||||
}
|
||||
|
||||
nsPageContentFrame::nsPageContentFrame() :
|
||||
|
||||
Reference in New Issue
Block a user