mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +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
|
|
@ -145,14 +145,13 @@ nsDeckFrame::GetSelectedBox()
|
|||
|
||||
void
|
||||
nsDeckFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
// if a tab is hidden all its children are too.
|
||||
if (!StyleVisibility()->mVisible)
|
||||
return;
|
||||
|
||||
nsBoxFrame::BuildDisplayList(aBuilder, aDirtyRect, aLists);
|
||||
nsBoxFrame::BuildDisplayList(aBuilder, aLists);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -185,7 +184,6 @@ nsDeckFrame::RemoveFrame(ChildListID aListID,
|
|||
|
||||
void
|
||||
nsDeckFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
// only paint the selected box
|
||||
|
|
@ -196,7 +194,7 @@ nsDeckFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
|
|||
// Putting the child in the background list. This is a little weird but
|
||||
// it matches what we were doing before.
|
||||
nsDisplayListSet set(aLists, aLists.BlockBorderBackgrounds());
|
||||
BuildDisplayListForChild(aBuilder, box, aDirtyRect, set);
|
||||
BuildDisplayListForChild(aBuilder, box, set);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue