Bug 1464165 - Relax assertion for isize not being nscoord_MAX in nsListControlFrame. r=dholbert

MozReview-Commit-ID: A9PRG3uI2h
This commit is contained in:
Mihir Iyer
2018-05-29 17:14:27 -07:00
parent 0053aaef19
commit faff6f3293
3 changed files with 17 additions and 2 deletions

View File

@@ -368,8 +368,8 @@ nsListControlFrame::Reflow(nsPresContext* aPresContext,
nsReflowStatus& aStatus)
{
MOZ_ASSERT(aStatus.IsEmpty(), "Caller should pass a fresh reflow status!");
MOZ_ASSERT(aReflowInput.ComputedISize() != NS_UNCONSTRAINEDSIZE,
"Must have a computed inline size");
NS_WARNING_ASSERTION(aReflowInput.ComputedISize() != NS_UNCONSTRAINEDSIZE,
"Must have a computed inline size");
SchedulePaint();