зеркало из https://github.com/mozilla/gecko-dev.git
integrates with new frame creation methods
This commit is contained in:
Родитель
4693ba21a9
Коммит
37869e9464
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче