diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-05-08 00:46:35 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-05-08 15:22:22 +0300 |
commit | 130df5da4ff47d546f8e2eecd7c388b78a587930 (patch) | |
tree | 0c78dd35bcd56cade438e1a65f33f06a19fbf342 /layout/generic/nsBlockFrame.cpp | |
parent | f102e7f80d5d7c972e7619c3f9efe7460918c6d4 (diff) | |
download | UXP-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/nsBlockFrame.cpp')
-rw-r--r-- | layout/generic/nsBlockFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index df8536dcb..4742db07e 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -6554,7 +6554,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. @@ -6620,7 +6620,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 |