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