summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsBlockFrame.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/nsBlockFrame.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/nsBlockFrame.cpp')
-rw-r--r--layout/generic/nsBlockFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp
index 464ddfd34..57838207d 100644
--- a/layout/generic/nsBlockFrame.cpp
+++ b/layout/generic/nsBlockFrame.cpp
@@ -6556,7 +6556,7 @@ DisplayLine(nsDisplayListBuilder* aBuilder, const nsRect& aLineArea,
// Collect our line's display items in a temporary nsDisplayListCollection,
// so that we can apply any "text-overflow" clipping to the entire collection
// without affecting previous lines.
- nsDisplayListCollection collection;
+ nsDisplayListCollection collection(aBuilder);
// Block-level child backgrounds go on the blockBorderBackgrounds list ...
// Inline-level child backgrounds go on the regular child content list.
@@ -6622,7 +6622,7 @@ nsBlockFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
TextOverflow::WillProcessLines(aBuilder, this));
// We'll collect our lines' display items here, & then append this to aLists.
- nsDisplayListCollection linesDisplayListCollection;
+ nsDisplayListCollection linesDisplayListCollection(aBuilder);
// Don't use the line cursor if we might have a descendant placeholder ...
// it might skip lines that contain placeholders but don't themselves