mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
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:
parent
760943d584
commit
185335ac63
Notes:
github-actions[bot]
2024-10-31 00:00:31 +00:00
Author: https://github.com/gmta
Commit: 185335ac63
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2069
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ void StackingContext::paint_node_as_stacking_context(Paintable const& paintable,
|
||||||
paint_svg(context, static_cast<PaintableBox const&>(paintable), PaintPhase::Foreground);
|
paint_svg(context, static_cast<PaintableBox const&>(paintable), PaintPhase::Foreground);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
VERIFY(!paintable.layout_node().is_svg_svg_box());
|
|
||||||
paint_node(paintable, context, PaintPhase::Background);
|
paint_node(paintable, context, PaintPhase::Background);
|
||||||
paint_node(paintable, context, PaintPhase::Border);
|
paint_node(paintable, context, PaintPhase::Border);
|
||||||
paint_descendants(context, paintable, StackingContextPaintPhase::BackgroundAndBorders);
|
paint_descendants(context, paintable, StackingContextPaintPhase::BackgroundAndBorders);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue