Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232178 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2366,8 +2366,7 @@ PresShell::InitialReflow(nscoord aWidth, nscoord aHeight)
|
||||
|
||||
// Have the style sheet processor construct frame for the root
|
||||
// content object down
|
||||
mFrameConstructor->ContentInserted(nsnull, root, 0,
|
||||
nsnull, PR_FALSE);
|
||||
mFrameConstructor->ContentInserted(nsnull, root, 0, nsnull);
|
||||
VERIFY_STYLE_TREE;
|
||||
MOZ_TIMER_DEBUGLOG(("Stop: Frame Creation: PresShell::InitialReflow(), this=%p\n",
|
||||
(void*)this));
|
||||
@@ -4539,7 +4538,7 @@ PresShell::ContentInserted(nsIDocument* aDocument,
|
||||
|
||||
WillCauseReflow();
|
||||
mFrameConstructor->ContentInserted(aContainer, aChild,
|
||||
aIndexInContainer, nsnull, PR_FALSE);
|
||||
aIndexInContainer, nsnull);
|
||||
VERIFY_STYLE_TREE;
|
||||
DidCauseReflow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user