mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList
Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
This commit is contained in:
parent
7ae0c88c46
commit
85b85bac28
154 changed files with 259 additions and 430 deletions
|
|
@ -1310,7 +1310,6 @@ PaintXULDebugBackground(nsIFrame* aFrame, DrawTarget* aDrawTarget,
|
|||
|
||||
void
|
||||
nsBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
bool forceLayer = false;
|
||||
|
|
@ -1344,7 +1343,7 @@ nsBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
}
|
||||
#endif
|
||||
|
||||
BuildDisplayListForChildren(aBuilder, aDirtyRect, destination);
|
||||
BuildDisplayListForChildren(aBuilder, destination);
|
||||
|
||||
// see if we have to draw a selection frame around this container
|
||||
DisplaySelectionOverlay(aBuilder, destination.Content());
|
||||
|
|
@ -1370,7 +1369,6 @@ nsBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
|
||||
void
|
||||
nsBoxFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
nsIFrame* kid = mFrames.FirstChild();
|
||||
|
|
@ -1379,7 +1377,7 @@ nsBoxFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
|
|||
nsDisplayListSet set(aLists, aLists.BlockBorderBackgrounds());
|
||||
// The children should be in the right order
|
||||
while (kid) {
|
||||
BuildDisplayListForChild(aBuilder, kid, aDirtyRect, set);
|
||||
BuildDisplayListForChild(aBuilder, kid, set);
|
||||
kid = kid->GetNextSibling();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue