Fix Build Bustage - with "--enable-debug"

This commit is contained in:
janekptacijarabaci 2018-07-12 12:34:59 +02:00 committed by Roy Tam
commit d57aa4fc94
4 changed files with 7 additions and 2 deletions

View file

@ -5057,7 +5057,7 @@ nsLayoutUtils::IntrinsicForAxis(PhysicalAxis aAxis,
NS_PRECONDITION(aFrame->GetParent(),
"IntrinsicForAxis called on frame not in tree");
NS_PRECONDITION(aType == MIN_ISIZE || aType == PREF_ISIZE, "bad type");
MOZ_ASSERT(aFrame->GetParent()->Type() != LayoutFrameType::GridContainer ||
MOZ_ASSERT(aFrame->GetParent()->GetType() != nsGkAtoms::gridContainerFrame ||
aPercentageBasis.isSome(),
"grid layout should always pass a percentage basis");