LibWeb: Remove superfluous VERIFY from StackingContext

We just checked if it's an SVG box, let's not do it again.
This commit is contained in:
Jelle Raaijmakers 2024-10-30 23:47:55 +01:00 committed by Alexander Kalenik
parent 760943d584
commit 185335ac63
Notes: github-actions[bot] 2024-10-31 00:00:31 +00:00

View file

@ -82,7 +82,7 @@ void StackingContext::paint_node_as_stacking_context(Paintable const& paintable,
paint_svg(context, static_cast<PaintableBox const&>(paintable), PaintPhase::Foreground);
return;
}
VERIFY(!paintable.layout_node().is_svg_svg_box());
paint_node(paintable, context, PaintPhase::Background);
paint_node(paintable, context, PaintPhase::Border);
paint_descendants(context, paintable, StackingContextPaintPhase::BackgroundAndBorders);