mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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: https://github.com/LadybirdBrowser/ladybird/commit/185335ac636 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);
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue