integrates with new frame creation methods

git-svn-id: svn://10.0.0.236/trunk@9671 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com 1998-09-09 21:34:10 +00:00
parent 74584ed8b6
commit f97d444d8f
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ void nsTableCellFrame::CreatePsuedoFrame(nsIPresContext* aPresContext)
// Do we have a prev-in-flow?
if (nsnull == mPrevInFlow) {
// No, create a body pseudo frame
nsBodyFrame::NewFrame(&mFirstChild, mContent, this);
NS_NewBodyFrame(mContent, this, mFirstChild);
mChildCount = 1;
// Resolve style and set the style context

View File

@ -171,7 +171,7 @@ void nsTableCellFrame::CreatePsuedoFrame(nsIPresContext* aPresContext)
// Do we have a prev-in-flow?
if (nsnull == mPrevInFlow) {
// No, create a body pseudo frame
nsBodyFrame::NewFrame(&mFirstChild, mContent, this);
NS_NewBodyFrame(mContent, this, mFirstChild);
mChildCount = 1;
// Resolve style and set the style context