mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibWeb: Make Layout::Node::paint() pure virtual
In the past, the base class implementation of this was used to descend into subtrees and paint children. That is now taken care of by StackingContext::paint_descendants() instead, and nothing used this.
This commit is contained in:
parent
eac31e21f2
commit
28fabd4728
6 changed files with 12 additions and 15 deletions
|
@ -26,4 +26,8 @@ void BreakNode::split_into_lines(InlineFormattingContext& context, LayoutMode)
|
|||
line_box.add_fragment(*this, 0, 0, 0, context.containing_block().line_height());
|
||||
}
|
||||
|
||||
void BreakNode::paint(PaintContext&, PaintPhase)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue