mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Attach FrameProperties to each frame instead of using a shared hashtable
Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
This commit is contained in:
parent
c135831979
commit
922e819d1c
62 changed files with 738 additions and 945 deletions
|
|
@ -2741,8 +2741,7 @@ nsPresContext::GetPrimaryFrameFor(nsIContent* aContent)
|
|||
size_t
|
||||
nsPresContext::SizeOfExcludingThis(MallocSizeOf aMallocSizeOf) const
|
||||
{
|
||||
return mPropertyTable.SizeOfExcludingThis(aMallocSizeOf) +
|
||||
mLangGroupFontPrefs.SizeOfExcludingThis(aMallocSizeOf);
|
||||
return mLangGroupFontPrefs.SizeOfExcludingThis(aMallocSizeOf);
|
||||
|
||||
// Measurement of other members may be added later if DMD finds it is
|
||||
// worthwhile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue