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
|
|
@ -144,10 +144,9 @@ nsBox::BeginXULLayout(nsBoxLayoutState& aState)
|
|||
|
||||
// Another copy-over from ReflowInput.
|
||||
// Since we are in reflow, we don't need to store these properties anymore.
|
||||
FrameProperties props = Properties();
|
||||
props.Delete(UsedBorderProperty());
|
||||
props.Delete(UsedPaddingProperty());
|
||||
props.Delete(UsedMarginProperty());
|
||||
DeleteProperty(UsedBorderProperty());
|
||||
DeleteProperty(UsedPaddingProperty());
|
||||
DeleteProperty(UsedMarginProperty());
|
||||
|
||||
#ifdef DEBUG_LAYOUT
|
||||
PropagateDebug(aState);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue