Bug 1406727. r=froydnj

This commit is contained in:
Matt Woodrow
2017-11-16 16:09:28 +13:00
parent 3f1d75113d
commit c87f4fda09
21 changed files with 56 additions and 98 deletions

View File

@@ -106,7 +106,7 @@ nsHTMLButtonControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
eventClipState->ClipContainingBlockDescendants(rect, hasRadii ? radii : nullptr);
}
nsDisplayList onTop(aBuilder);
nsDisplayList onTop;
if (IsVisibleForPainting(aBuilder)) {
mRenderer.DisplayButton(aBuilder, aLists.BorderBackground(), &onTop);
}