summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsGfxScrollFrame.cpp
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-05-08 00:46:35 +0300
committerwin7-7 <win7-7@users.noreply.github.com>2020-05-08 15:22:22 +0300
commit130df5da4ff47d546f8e2eecd7c388b78a587930 (patch)
tree0c78dd35bcd56cade438e1a65f33f06a19fbf342 /layout/generic/nsGfxScrollFrame.cpp
parentf102e7f80d5d7c972e7619c3f9efe7460918c6d4 (diff)
downloadUXP-130df5da4ff47d546f8e2eecd7c388b78a587930.tar
UXP-130df5da4ff47d546f8e2eecd7c388b78a587930.tar.gz
UXP-130df5da4ff47d546f8e2eecd7c388b78a587930.tar.lz
UXP-130df5da4ff47d546f8e2eecd7c388b78a587930.tar.xz
UXP-130df5da4ff47d546f8e2eecd7c388b78a587930.zip
Issue #1355 - Preemptively fix build bustage for 1409114
Diffstat (limited to 'layout/generic/nsGfxScrollFrame.cpp')
-rw-r--r--layout/generic/nsGfxScrollFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp
index fea4110c0..dd1b15f77 100644
--- a/layout/generic/nsGfxScrollFrame.cpp
+++ b/layout/generic/nsGfxScrollFrame.cpp
@@ -3099,7 +3099,7 @@ ScrollFrameHelper::AppendScrollPartsTo(nsDisplayListBuilder* aBuilder,
bool isOverlayScrollbar = (flags != 0) && overlayScrollbars;
bool createLayer = aCreateLayer || isOverlayScrollbar;
- nsDisplayListCollection partList;
+ nsDisplayListCollection partList(aBuilder);
{
nsDisplayListBuilder::AutoBuildingDisplayList
buildingForChild(aBuilder, mOuter,
@@ -3420,7 +3420,7 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
nsIScrollableFrame* sf = do_QueryFrame(mOuter);
MOZ_ASSERT(sf);
- nsDisplayListCollection scrolledContent;
+ nsDisplayListCollection scrolledContent(aBuilder);
{
// Note that setting the current scroll parent id here means that positioned children
// of this scroll info layer will pick up the scroll info layer as their scroll handoff