summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/nsTreeColFrame.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-10 15:02:59 +0200
committerGitHub <noreply@github.com>2020-05-10 15:02:59 +0200
commit221627575b56e8bb85e8329400da99138f2f67c1 (patch)
tree28b0142ae0eedc45e992bb7bacafdc3dba7a15af /layout/xul/tree/nsTreeColFrame.cpp
parent1659e69dfb075975f366b1e2dbfa145febb2094f (diff)
parentf9047ff63de90e8c0242a5e7170a8c70f93f99b1 (diff)
downloadUXP-221627575b56e8bb85e8329400da99138f2f67c1.tar
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.gz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.lz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.xz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.zip
Merge pull request #1537 from win7-7/column-backgrounds-pr-2
Better way to create display items for column backgrounds
Diffstat (limited to 'layout/xul/tree/nsTreeColFrame.cpp')
-rw-r--r--layout/xul/tree/nsTreeColFrame.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/layout/xul/tree/nsTreeColFrame.cpp b/layout/xul/tree/nsTreeColFrame.cpp
index 649c0b0b4..2ee2903f6 100644
--- a/layout/xul/tree/nsTreeColFrame.cpp
+++ b/layout/xul/tree/nsTreeColFrame.cpp
@@ -110,16 +110,15 @@ nsDisplayXULTreeColSplitterTarget::HitTest(nsDisplayListBuilder* aBuilder, const
void
nsTreeColFrame::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);
+ nsDisplayListCollection set(aBuilder);
+ nsBoxFrame::BuildDisplayListForChildren(aBuilder, set);
WrapListsInRedirector(aBuilder, set, aLists);