mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +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
|
|
@ -357,16 +357,15 @@ nsMenuFrame::DestroyFrom(nsIFrame* aDestructRoot)
|
|||
|
||||
void
|
||||
nsMenuFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
if (!aBuilder->IsForEventDelivery()) {
|
||||
nsBoxFrame::BuildDisplayListForChildren(aBuilder, aDirtyRect, aLists);
|
||||
nsBoxFrame::BuildDisplayListForChildren(aBuilder, aLists);
|
||||
return;
|
||||
}
|
||||
|
||||
nsDisplayListCollection set;
|
||||
nsBoxFrame::BuildDisplayListForChildren(aBuilder, aDirtyRect, set);
|
||||
nsBoxFrame::BuildDisplayListForChildren(aBuilder, set);
|
||||
|
||||
WrapListsInRedirector(aBuilder, set, aLists);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue