From f97d444d8f4cf4c0445e1eada2979cd4d2a5da64 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Wed, 9 Sep 1998 21:34:10 +0000 Subject: [PATCH] integrates with new frame creation methods git-svn-id: svn://10.0.0.236/trunk@9671 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/table/src/nsTableCellFrame.cpp | 2 +- mozilla/layout/tables/nsTableCellFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/html/table/src/nsTableCellFrame.cpp b/mozilla/layout/html/table/src/nsTableCellFrame.cpp index c39a0fca1d9..7cec23b353c 100644 --- a/mozilla/layout/html/table/src/nsTableCellFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableCellFrame.cpp @@ -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 diff --git a/mozilla/layout/tables/nsTableCellFrame.cpp b/mozilla/layout/tables/nsTableCellFrame.cpp index c39a0fca1d9..7cec23b353c 100644 --- a/mozilla/layout/tables/nsTableCellFrame.cpp +++ b/mozilla/layout/tables/nsTableCellFrame.cpp @@ -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