Issue #1355 - Preemptively fix build bustage for 1409114

This commit is contained in:
win7-7 2020-05-08 00:46:35 +03:00 committed by Roy Tam
commit e15b1ba0ec
15 changed files with 23 additions and 22 deletions

View file

@ -342,7 +342,7 @@ nsSubDocumentFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
bool pointerEventsNone =
StyleUserInterface()->mPointerEvents == NS_STYLE_POINTER_EVENTS_NONE;
if (!aBuilder->IsForEventDelivery() || !pointerEventsNone) {
nsDisplayListCollection decorations;
nsDisplayListCollection decorations(aBuilder);
DisplayBorderBackgroundOutline(aBuilder, decorations);
if (rfp) {
// Wrap background colors of <iframe>s with remote subdocuments in their