Bug 1235489 - Remove assertion which is breakable when reflow is interrupted.
--- a/layout/generic/nsTextFrame.cpp
+++ b/layout/generic/nsTextFrame.cpp
@@ -6199,17 +6199,16 @@ nsTextFrame::DrawEmphasisMarks(gfxContex
const gfxPoint& aTextBaselinePt,
uint32_t aOffset, uint32_t aLength,
const nscolor* aDecorationOverrideColor,
PropertyProvider& aProvider)
{
auto info = static_cast<const EmphasisMarkInfo*>(
Properties().Get(EmphasisMarkProperty()));
if (!info) {
- MOZ_ASSERT(!StyleText()->HasTextEmphasis());
return;
}
nscolor color = aDecorationOverrideColor ? *aDecorationOverrideColor :
nsLayoutUtils::GetColor(this, eCSSProperty_text_emphasis_color);
aContext->SetColor(Color::FromABGR(color));
gfxPoint pt(aTextBaselinePt);
if (!aWM.IsVertical()) {