mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
LibWeb: Simplify Layout::Node::class_name() with RTTI
This commit is contained in:
parent
7841528cd4
commit
730af2c524
24 changed files with 8 additions and 37 deletions
|
@ -43,7 +43,6 @@ public:
|
|||
const String& text_for_style(const CSS::StyleProperties&) const;
|
||||
const String& text_for_rendering() const { return m_text_for_rendering; }
|
||||
|
||||
virtual const char* class_name() const override { return "TextNode"; }
|
||||
virtual bool is_text() const final { return true; }
|
||||
|
||||
virtual void paint_fragment(PaintContext&, const LineBoxFragment&, PaintPhase) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue