mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 15:27:30 +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
|
|
@ -112,12 +112,12 @@ public:
|
|||
// Take a faster path that doesn't require unioning the overflow areas
|
||||
// of our children.
|
||||
|
||||
NS_ASSERTION(frame->Properties().Get(
|
||||
NS_ASSERTION(frame->GetProperty(
|
||||
nsIFrame::DebugInitialOverflowPropertyApplied()),
|
||||
"InitialOverflowProperty must be set first.");
|
||||
|
||||
nsOverflowAreas* overflow =
|
||||
frame->Properties().Get(nsIFrame::InitialOverflowProperty());
|
||||
frame->GetProperty(nsIFrame::InitialOverflowProperty());
|
||||
if (overflow) {
|
||||
// FinishAndStoreOverflow will change the overflow areas passed in,
|
||||
// so make a copy.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue