Bug 1512251 - Remove unused render only selection code r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D13829
This commit is contained in:
Miko Mynttinen
2018-12-06 19:40:50 +00:00
parent 65a65e231b
commit d362fc5ee4
34 changed files with 35 additions and 147 deletions

View File

@@ -196,7 +196,7 @@ void nsFieldSetFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
// the background/border display item won't do anything, and if it isn't
// empty, we need to paint the outline
if (!(GetStateBits() & NS_FRAME_IS_OVERFLOW_CONTAINER) &&
IsVisibleForPainting(aBuilder)) {
IsVisibleForPainting()) {
if (StyleEffects()->mBoxShadow) {
aLists.BorderBackground()->AppendToTop(
MakeDisplayItem<nsDisplayBoxShadowOuter>(aBuilder, this));