integrate caption with new frame creation code

This commit is contained in:
buster%netscape.com 1998-09-09 22:18:01 +00:00
parent e012b52354
commit 04d96da8d4

View File

@ -147,7 +147,7 @@ nsTableCaption::CreateFrame(nsIPresContext* aPresContext,
NS_PRECONDITION(nsnull!=aPresContext, "bad arg");
nsIFrame* frame;
nsresult rv = nsBodyFrame::NewFrame(&frame, this, aParentFrame);
nsresult rv = NS_NewBodyFrame(this, aParentFrame, frame);
if (NS_OK != rv) {
return rv;
}