mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +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
|
|
@ -819,11 +819,11 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
|||
#endif
|
||||
|
||||
if (mCurrentSpan == mRootSpan) {
|
||||
pfd->mFrame->Properties().Remove(nsIFrame::LineBaselineOffset());
|
||||
pfd->mFrame->RemoveProperty(nsIFrame::LineBaselineOffset());
|
||||
} else {
|
||||
#ifdef DEBUG
|
||||
bool hasLineOffset;
|
||||
pfd->mFrame->Properties().Get(nsIFrame::LineBaselineOffset(), &hasLineOffset);
|
||||
pfd->mFrame->GetProperty(nsIFrame::LineBaselineOffset(), &hasLineOffset);
|
||||
NS_ASSERTION(!hasLineOffset, "LineBaselineOffset was set but was not expected");
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue