Bug 1146107 - Replace MOZ_ASSERT with NS_WARN_IF_FALSE on isize check in ruby base container. r=dholbert
This commit is contained in:
@@ -518,8 +518,9 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
// When there are no frames inside the ruby base container, EndSpan
|
||||
// will return 0. However, in this case, the actual width of the
|
||||
// container could be non-zero because of non-empty ruby annotations.
|
||||
MOZ_ASSERT(NS_INLINE_IS_BREAK(aStatus) ||
|
||||
isize == lineSpanSize || mFrames.IsEmpty());
|
||||
// XXX When bug 765861 gets fixed, this warning should be upgraded.
|
||||
NS_WARN_IF_FALSE(NS_INLINE_IS_BREAK(aStatus) ||
|
||||
isize == lineSpanSize || mFrames.IsEmpty(), "bad isize");
|
||||
|
||||
// If there exists any span, the columns must either be completely
|
||||
// reflowed, or be not reflowed at all.
|
||||
|
||||
Reference in New Issue
Block a user