1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibWeb: Move the painting of the border out of paint()

So other Boxes can override this function.
This commit is contained in:
Tobias Christiansen 2021-04-20 13:39:36 +02:00 committed by Andreas Kling
parent 3f42d39dce
commit ff0b3518fa
2 changed files with 11 additions and 5 deletions

View file

@ -110,6 +110,7 @@ public:
StackingContext* enclosing_stacking_context();
virtual void paint(PaintContext&, PaintPhase) override;
virtual void paint_border(PaintContext& context);
Vector<LineBox>& line_boxes() { return m_line_boxes; }
const Vector<LineBox>& line_boxes() const { return m_line_boxes; }