зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d2a99667f0
Коммит
113fa0f94e
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче