summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsFrame.cpp
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/generic/nsFrame.cpp
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/generic/nsFrame.cpp')
-rw-r--r--layout/generic/nsFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp
index 0bcc3f4c7..0fb16e4ce 100644
--- a/layout/generic/nsFrame.cpp
+++ b/layout/generic/nsFrame.cpp
@@ -2269,7 +2269,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
clipState.EnterStackingContextContents(clearClip);
- nsDisplayListCollection set;
+ nsDisplayListCollection set(aBuilder);
{
DisplayListClipState::AutoSaveRestore nestedClipState(aBuilder);
nsDisplayListBuilder::AutoInTransformSetter
@@ -2876,7 +2876,7 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
// We allow positioned descendants of the child to escape to our parent
// stacking context's positioned descendant list, because they might be
// z-index:non-auto
- nsDisplayListCollection pseudoStack;
+ nsDisplayListCollection pseudoStack(aBuilder);
aBuilder->AdjustWindowDraggingRegion(child);
child->BuildDisplayList(aBuilder, pseudoStack);
aBuilder->DisplayCaret(child, pseudoStack.Content());