Bug 1614432 - Remove redundant nested #IF r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D62529

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Fronk 2020-02-12 02:28:30 +00:00
Родитель d2a99667f0
Коммит 113fa0f94e
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -8429,13 +8429,11 @@ void nsGridContainerFrame::StoreUsedTrackSizes(
#ifdef DEBUG
void nsGridContainerFrame::SetInitialChildList(ChildListID aListID,
nsFrameList& aChildList) {
# ifdef DEBUG
ChildListIDs supportedLists = {kAbsoluteList, kFixedList, kPrincipalList};
// We don't handle the kBackdropList frames in any way, but it only contains
// a placeholder for ::backdrop which is OK to not reflow (for now anyway).
supportedLists += kBackdropList;
MOZ_ASSERT(supportedLists.contains(aListID), "unexpected child list");
# endif
return nsContainerFrame::SetInitialChildList(aListID, aChildList);
}