summaryrefslogtreecommitdiffstats
path: root/layout/xul
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-05-08 00:46:35 +0300
committerMoonchild <moonchild@palemoon.org>2020-05-20 13:49:01 +0000
commit3c1e71f0b105835cba634088682c922d6640d1c5 (patch)
tree4bd0b40bed7f216a79c3f895842af2e598534acc /layout/xul
parent71137783ac6927bd0dc02fce1d6e61e6ec027753 (diff)
downloadUXP-3c1e71f0b105835cba634088682c922d6640d1c5.tar
UXP-3c1e71f0b105835cba634088682c922d6640d1c5.tar.gz
UXP-3c1e71f0b105835cba634088682c922d6640d1c5.tar.lz
UXP-3c1e71f0b105835cba634088682c922d6640d1c5.tar.xz
UXP-3c1e71f0b105835cba634088682c922d6640d1c5.zip
Issue #1355 - Preemptively fix build bustage for 1409114
Diffstat (limited to 'layout/xul')
-rw-r--r--layout/xul/nsBoxFrame.cpp2
-rw-r--r--layout/xul/nsMenuFrame.cpp2
-rw-r--r--layout/xul/nsSliderFrame.cpp2
-rw-r--r--layout/xul/tree/nsTreeColFrame.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/layout/xul/nsBoxFrame.cpp b/layout/xul/nsBoxFrame.cpp
index 131f3afc7..09573fb96 100644
--- a/layout/xul/nsBoxFrame.cpp
+++ b/layout/xul/nsBoxFrame.cpp
@@ -1328,7 +1328,7 @@ nsBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
}
}
- nsDisplayListCollection tempLists;
+ nsDisplayListCollection tempLists(aBuilder);
const nsDisplayListSet& destination = forceLayer ? tempLists : aLists;
DisplayBorderBackgroundOutline(aBuilder, destination);
diff --git a/layout/xul/nsMenuFrame.cpp b/layout/xul/nsMenuFrame.cpp
index c3347486e..a8e81adb5 100644
--- a/layout/xul/nsMenuFrame.cpp
+++ b/layout/xul/nsMenuFrame.cpp
@@ -364,7 +364,7 @@ nsMenuFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
return;
}
- nsDisplayListCollection set;
+ nsDisplayListCollection set(aBuilder);
nsBoxFrame::BuildDisplayListForChildren(aBuilder, set);
WrapListsInRedirector(aBuilder, set, aLists);
diff --git a/layout/xul/nsSliderFrame.cpp b/layout/xul/nsSliderFrame.cpp
index a2098144c..a9e513e2f 100644
--- a/layout/xul/nsSliderFrame.cpp
+++ b/layout/xul/nsSliderFrame.cpp
@@ -358,7 +358,7 @@ nsSliderFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
nsLayoutUtils::SetScrollbarThumbLayerization(thumb, thumbGetsLayer);
if (thumbGetsLayer) {
- nsDisplayListCollection tempLists;
+ nsDisplayListCollection tempLists(aBuilder);
nsBoxFrame::BuildDisplayListForChildren(aBuilder, tempLists);
// This is a bit of a hack. Collect up all descendant display items
diff --git a/layout/xul/tree/nsTreeColFrame.cpp b/layout/xul/tree/nsTreeColFrame.cpp
index 5fea7947f..2ee2903f6 100644
--- a/layout/xul/tree/nsTreeColFrame.cpp
+++ b/layout/xul/tree/nsTreeColFrame.cpp
@@ -117,7 +117,7 @@ nsTreeColFrame::BuildDisplayListForChildren(nsDisplayListBuilder* aBuilder,
return;
}
- nsDisplayListCollection set;
+ nsDisplayListCollection set(aBuilder);
nsBoxFrame::BuildDisplayListForChildren(aBuilder, set);
WrapListsInRedirector(aBuilder, set, aLists);