1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:47:35 +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:
Andreas Kling 2021-09-15 14:53:44 +02:00
parent eac31e21f2
commit 28fabd4728
6 changed files with 12 additions and 15 deletions

View file

@ -414,4 +414,8 @@ Optional<TextNode::Chunk> TextNode::ChunkIterator::try_commit_chunk(Utf8View::It
return {};
}
void TextNode::paint(PaintContext&, PaintPhase)
{
}
}