diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-05-08 00:46:35 +0300 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:49:01 +0000 |
commit | 3c1e71f0b105835cba634088682c922d6640d1c5 (patch) | |
tree | 4bd0b40bed7f216a79c3f895842af2e598534acc /layout/generic/nsGfxScrollFrame.cpp | |
parent | 71137783ac6927bd0dc02fce1d6e61e6ec027753 (diff) | |
download | UXP-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/generic/nsGfxScrollFrame.cpp')
-rw-r--r-- | layout/generic/nsGfxScrollFrame.cpp | 4 |
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 |