Bug 1647525 - Use HasAnyStateBits() in nsFieldSetFrame r=emilio
Depends on D81099 Differential Revision: https://phabricator.services.mozilla.com/D81100
This commit is contained in:
@@ -222,7 +222,7 @@ void nsFieldSetFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
// REVIEW: We don't really need to check frame emptiness here; if it's empty,
|
||||
// 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) &&
|
||||
if (!HasAnyStateBits(NS_FRAME_IS_OVERFLOW_CONTAINER) &&
|
||||
IsVisibleForPainting()) {
|
||||
DisplayOutsetBoxShadowUnconditional(aBuilder, aLists.BorderBackground());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user