mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store the placeholder on a frame property on the out-of-flow
Tag #1375
This commit is contained in:
parent
854827bd83
commit
9b868f0298
18 changed files with 52 additions and 166 deletions
|
|
@ -4348,8 +4348,7 @@ nsLayoutUtils::GetParentOrPlaceholderFor(nsIFrame* aFrame)
|
|||
{
|
||||
if ((aFrame->GetStateBits() & NS_FRAME_OUT_OF_FLOW)
|
||||
&& !aFrame->GetPrevInFlow()) {
|
||||
return aFrame->PresContext()->PresShell()->FrameManager()->
|
||||
GetPlaceholderFrameFor(aFrame);
|
||||
return aFrame->GetProperty(nsIFrame::PlaceholderFrameProperty());
|
||||
}
|
||||
return aFrame->GetParent();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue