Eliminated NewFrame

This commit is contained in:
kipp@netscape.com
1998-11-14 19:28:34 +00:00
parent aaee711222
commit c93bcec93b
10 changed files with 28 additions and 26 deletions

View File

@@ -176,7 +176,7 @@ NS_NewCommentFrame(nsIContent* aContent,
nsIFrame*& aResult)
{
nsIFrame* frame;
nsFrame::NewFrame(&frame, aContent, aParentFrame);
NS_NewEmptyFrame(&frame, aContent, aParentFrame);
if (nsnull == frame) {
return NS_ERROR_OUT_OF_MEMORY;
}