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:
parent
74584ed8b6
commit
f97d444d8f
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user