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:
bzbarsky%mit.edu
2007-08-15 23:20:26 +00:00
parent 46d70b726a
commit 84edc3c7eb
13 changed files with 569 additions and 380 deletions

View File

@@ -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();
}