mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00
Making tree scrolling faster.
This commit is contained in:
parent
1bd556c060
commit
f8c91fadf4
@ -231,7 +231,16 @@ nsBoxFrame::Init(nsIPresContext* aPresContext,
|
||||
|
||||
nsSpaceManager* spaceManager = new nsSpaceManager(this);
|
||||
mInner->mSpaceManager = spaceManager;
|
||||
|
||||
#ifdef DEBUG_evaughan
|
||||
// This function is incredibly expensive in profiles. Unless it can be optimized, and
|
||||
// because it's being used for debug purposes only, this call is being commented out.
|
||||
// Contact hyatt@netscape.com if you have any questions. Do not put it back in
|
||||
// until the speed issues with the pseudostyle probes have been resolved, as this
|
||||
// call substantially impacts box performance.
|
||||
mInner->UpdatePseudoElements(aPresContext);
|
||||
#endif
|
||||
|
||||
mInner->mHorizontal = GetInitialAlignment();
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user